You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/03/27 23:01:25 UTC
svn commit: r1461871 -
/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/
Author: tn
Date: Wed Mar 27 22:01:25 2013
New Revision: 1461871
URL: http://svn.apache.org/r1461871
Log:
[MATH-917] deprecated old stat.clustering package.
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/Cluster.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/Clusterable.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/DBSCANClusterer.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/EuclideanDoublePoint.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/EuclideanIntegerPoint.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/KMeansPlusPlusClusterer.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/package-info.java
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/Cluster.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/Cluster.java?rev=1461871&r1=1461870&r2=1461871&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/Cluster.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/Cluster.java Wed Mar 27 22:01:25 2013
@@ -26,7 +26,10 @@ import java.util.List;
* @param <T> the type of points that can be clustered
* @version $Id$
* @since 2.0
+ * @deprecated As of 3.2 (to be removed in 4.0),
+ * use {@link org.apache.commons.math3.ml.clustering.Cluster} instead
*/
+@Deprecated
public class Cluster<T extends Clusterable<T>> implements Serializable {
/** Serializable version identifier. */
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/Clusterable.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/Clusterable.java?rev=1461871&r1=1461870&r2=1461871&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/Clusterable.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/Clusterable.java Wed Mar 27 22:01:25 2013
@@ -24,7 +24,10 @@ import java.util.Collection;
* @param <T> the type of point that can be clustered
* @version $Id$
* @since 2.0
+ * @deprecated As of 3.2 (to be removed in 4.0),
+ * use {@link org.apache.commons.math3.ml.clustering.Clusterable} instead
*/
+@Deprecated
public interface Clusterable<T> {
/**
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/DBSCANClusterer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/DBSCANClusterer.java?rev=1461871&r1=1461870&r2=1461871&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/DBSCANClusterer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/DBSCANClusterer.java Wed Mar 27 22:01:25 2013
@@ -57,7 +57,10 @@ import org.apache.commons.math3.util.Mat
* A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise</a>
* @version $Id$
* @since 3.1
+ * @deprecated As of 3.2 (to be removed in 4.0),
+ * use {@link org.apache.commons.math3.ml.clustering.DBSCANClusterer} instead
*/
+@Deprecated
public class DBSCANClusterer<T extends Clusterable<T>> {
/** Maximum radius of the neighborhood to be considered. */
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/EuclideanDoublePoint.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/EuclideanDoublePoint.java?rev=1461871&r1=1461870&r2=1461871&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/EuclideanDoublePoint.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/EuclideanDoublePoint.java Wed Mar 27 22:01:25 2013
@@ -26,7 +26,10 @@ import org.apache.commons.math3.util.Mat
* A simple implementation of {@link Clusterable} for points with double coordinates.
* @version $Id$
* @since 3.1
+ * @deprecated As of 3.2 (to be removed in 4.0),
+ * use {@link org.apache.commons.math3.ml.clustering.DoublePoint} instead
*/
+@Deprecated
public class EuclideanDoublePoint implements Clusterable<EuclideanDoublePoint>, Serializable {
/** Serializable version identifier. */
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/EuclideanIntegerPoint.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/EuclideanIntegerPoint.java?rev=1461871&r1=1461870&r2=1461871&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/EuclideanIntegerPoint.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/EuclideanIntegerPoint.java Wed Mar 27 22:01:25 2013
@@ -27,7 +27,10 @@ import org.apache.commons.math3.util.Mat
* A simple implementation of {@link Clusterable} for points with integer coordinates.
* @version $Id$
* @since 2.0
+ * @deprecated As of 3.2 (to be removed in 4.0),
+ * use {@link org.apache.commons.math3.ml.clustering.DoublePoint} instead
*/
+@Deprecated
public class EuclideanIntegerPoint implements Clusterable<EuclideanIntegerPoint>, Serializable {
/** Serializable version identifier. */
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/KMeansPlusPlusClusterer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/KMeansPlusPlusClusterer.java?rev=1461871&r1=1461870&r2=1461871&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/KMeansPlusPlusClusterer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/KMeansPlusPlusClusterer.java Wed Mar 27 22:01:25 2013
@@ -36,7 +36,10 @@ import org.apache.commons.math3.util.Mat
* @see <a href="http://en.wikipedia.org/wiki/K-means%2B%2B">K-means++ (wikipedia)</a>
* @version $Id$
* @since 2.0
+ * @deprecated As of 3.2 (to be removed in 4.0),
+ * use {@link org.apache.commons.math3.ml.clustering.KMeansPlusPlusClusterer} instead
*/
+@Deprecated
public class KMeansPlusPlusClusterer<T extends Clusterable<T>> {
/** Strategies to use for replacing an empty cluster. */
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/package-info.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/package-info.java?rev=1461871&r1=1461870&r2=1461871&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/package-info.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/clustering/package-info.java Wed Mar 27 22:01:25 2013
@@ -15,6 +15,15 @@
* limitations under the License.
*/
/**
- * Clustering algorithms
+ * <h2>All classes and sub-packages of this package are deprecated.</h2>
+ * <h3>Please use their replacements, to be found under
+ * <ul>
+ * <li>{@link org.apache.commons.math3.ml.clustering}</li>
+ * </ul>
+ * </h3>
+ *
+ * <p>
+ * Clustering algorithms.
+ * </p>
*/
package org.apache.commons.math3.stat.clustering;