You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2013/03/29 02:42:42 UTC

svn commit: r1462375 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math3: distribution/fitting/MultivariateNormalMixtureExpectationMaximization.java ml/clustering/MultiKMeansPlusPlusClusterer.java

Author: psteitz
Date: Fri Mar 29 01:42:42 2013
New Revision: 1462375

URL: http://svn.apache.org/r1462375
Log:
Fixed javadoc errors.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/fitting/MultivariateNormalMixtureExpectationMaximization.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/clustering/MultiKMeansPlusPlusClusterer.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/fitting/MultivariateNormalMixtureExpectationMaximization.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/fitting/MultivariateNormalMixtureExpectationMaximization.java?rev=1462375&r1=1462374&r2=1462375&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/fitting/MultivariateNormalMixtureExpectationMaximization.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/fitting/MultivariateNormalMixtureExpectationMaximization.java Fri Mar 29 01:42:42 2013
@@ -128,7 +128,6 @@ public class MultivariateNormalMixtureEx
      *             or threshold is less than Double.MIN_VALUE
      * @throws DimensionMismatchException if initialMixture mean vector and data
      *             number of columns are not equal
-     * @see #estimateMultivariateNormalMixtureModelDistribution
      */
     public void fit(final MixtureMultivariateNormalDistribution initialMixture,
                     final int maxIterations,
@@ -275,7 +274,6 @@ public class MultivariateNormalMixtureEx
      *             singular during fitting
      * @throws NotStrictlyPositiveException if numComponents is less than one or
      *             threshold is less than Double.MIN_VALUE
-     * @see #estimateMultivariateNormalMixtureModelDistribution
      */
     public void fit(MixtureMultivariateNormalDistribution initialMixture)
         throws SingularMatrixException,
@@ -285,7 +283,7 @@ public class MultivariateNormalMixtureEx
 
     /**
      * Helper method to create a multivariate normal mixture model which can be
-     * used to initialize {@link #fit(MixtureMultivariateRealDistribution)}.
+     * used to initialize {@link #fit(MixtureMultivariateNormalDistribution)}.
      *
      * This method uses the data supplied to the constructor to try to determine
      * a good mixture model at which to start the fit, but it is not guaranteed
@@ -294,13 +292,12 @@ public class MultivariateNormalMixtureEx
      * @param data Data to estimate distribution
      * @param numComponents Number of components for estimated mixture
      * @return Multivariate normal mixture model estimated from the data
-     * @throws NumberIsTooLargeException if {@code numComponents\ is greater
+     * @throws NumberIsTooLargeException if {@code numComponents} is greater
      * than the number of data rows.
      * @throws NumberIsTooSmallException if {@code numComponents < 2}.
      * @throws NotStrictlyPositiveException if data has less than 2 rows
      * @throws DimensionMismatchException if rows of data have different numbers
      *             of columns
-     * @see #fit
      */
     public static MixtureMultivariateNormalDistribution estimate(final double[][] data,
                                                                  final int numComponents)

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/clustering/MultiKMeansPlusPlusClusterer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/clustering/MultiKMeansPlusPlusClusterer.java?rev=1462375&r1=1462374&r2=1462375&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/clustering/MultiKMeansPlusPlusClusterer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/clustering/MultiKMeansPlusPlusClusterer.java Fri Mar 29 01:42:42 2013
@@ -74,7 +74,8 @@ public class MultiKMeansPlusPlusClustere
      * @throws MathIllegalArgumentException if the data points are null or the number
      *   of clusters is larger than the number of data points
      * @throws ConvergenceException if an empty cluster is encountered and the
-     *   {@link #emptyStrategy} is set to {@code ERROR}
+     *   underlying {@link KMeansPlusPlusClusterer} has its
+     *   {@link KMeansPlusPlusClusterer.EmptyClusterStrategy} is set to {@code ERROR}.
      */
     public List<CentroidCluster<T>> cluster(final Collection<T> points)
         throws MathIllegalArgumentException, ConvergenceException {