Commit 1526e3f5 authored by Alexander David Hellwig's avatar Alexander David Hellwig
Browse files

Move clust4j from helpers to com package

parent 490694c8
Pipeline #95861 passed with stages
in 13 minutes and 52 seconds
......@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.Collection;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.ModelNotFitException;
import com.clust4j.except.ModelNotFitException;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.linear.Array2DRowRealMatrix;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
/**
* An interface to be implemented by {@link AbstractAutonomousClusterer}<tt>s</tt> that converge
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
interface ConvergeablePlanner extends java.io.Serializable {
/**
......
......@@ -13,20 +13,20 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Stack;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.SimilarityMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import com.clust4j.utils.MatUtils;
import com.clust4j.log.Log;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.SimilarityMetric;
import org.apache.commons.math3.exception.DimensionMismatchException;
import org.apache.commons.math3.linear.RealMatrix;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import com.clust4j.log.LogTimer;
/**
......
......@@ -14,14 +14,14 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo.AbstractDBSCAN.AbstractDBSCANParameters;
import com.clust4j.algo.AbstractDBSCAN.AbstractDBSCANParameters;
/**
* A builder class to provide an easier constructing
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.Arrays;
......@@ -25,24 +25,24 @@ import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.GlobalState;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Loggable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Distance;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.DistanceMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Pairwise;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.*;
import com.clust4j.utils.*;
import com.clust4j.GlobalState;
import com.clust4j.log.Log;
import com.clust4j.log.Loggable;
import com.clust4j.metrics.pairwise.Distance;
import com.clust4j.metrics.pairwise.DistanceMetric;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.Pairwise;
import org.apache.commons.math3.exception.DimensionMismatchException;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.util.FastMath;
import org.apache.commons.math3.util.Precision;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.QuadTup;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.EntryPair;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.utils.QuadTup;
import com.clust4j.log.LogTimer;
import com.clust4j.utils.EntryPair;
import com.clust4j.utils.MatUtils;
import com.clust4j.utils.VecUtils;
/**
* Hierarchical Density-Based Spatial Clustering of Applications with Noise.
......
......@@ -14,11 +14,11 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
/**
......
......@@ -13,27 +13,27 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.HashSet;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.NamedEntity;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel.CircularKernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel.LogKernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Distance;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.scoring.SupervisedMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.scoring.UnsupervisedMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.SimpleHeap;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.kernel.CircularKernel;
import com.clust4j.utils.MatUtils;
import com.clust4j.utils.SimpleHeap;
import com.clust4j.utils.VecUtils;
import com.clust4j.NamedEntity;
import com.clust4j.kernel.LogKernel;
import com.clust4j.log.Log;
import com.clust4j.metrics.pairwise.Distance;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.scoring.SupervisedMetric;
import com.clust4j.metrics.scoring.UnsupervisedMetric;
import org.apache.commons.math3.exception.DimensionMismatchException;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import com.clust4j.log.LogTimer;
/**
* Agglomerative clustering is a hierarchical clustering process in
......
......@@ -14,11 +14,11 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
final public class HierarchicalAgglomerativeParameters
......
......@@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.HashSet;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Loggable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Distance;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.DistanceMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.MinkowskiDistance;
import com.clust4j.log.Loggable;
import com.clust4j.metrics.pairwise.Distance;
import com.clust4j.metrics.pairwise.DistanceMetric;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.MinkowskiDistance;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.linear.Array2DRowRealMatrix;
import org.apache.commons.math3.util.FastMath;
......
......@@ -13,21 +13,21 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.TreeMap;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.NaNException;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Distance;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.EntryPair;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.except.NaNException;
import com.clust4j.utils.EntryPair;
import com.clust4j.utils.VecUtils;
import com.clust4j.log.Log;
import com.clust4j.metrics.pairwise.Distance;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import com.clust4j.log.LogTimer;
/**
* <a href="https://en.wikipedia.org/wiki/K-means_clustering">KMeans clustering</a> is
......
......@@ -14,14 +14,14 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo.AbstractCentroidClusterer.InitializationStrategy;
import com.clust4j.algo.AbstractCentroidClusterer.InitializationStrategy;
final public class KMeansParameters extends CentroidClustererParameters<KMeans> {
private static final long serialVersionUID = -813106538623499760L;
......
......@@ -13,22 +13,22 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.Map;
import java.util.TreeMap;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.IllegalClusterStateException;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Distance;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Pairwise;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.except.IllegalClusterStateException;
import com.clust4j.utils.VecUtils;
import com.clust4j.log.Log;
import com.clust4j.metrics.pairwise.Distance;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.Pairwise;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import com.clust4j.log.LogTimer;
/**
* <a href="https://en.wikipedia.org/wiki/K-medoids">KMedoids</a> is
......
......@@ -14,11 +14,11 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
public class KMedoidsParameters extends CentroidClustererParameters<KMedoids> {
......
......@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.LinkedHashSet;
import java.util.TreeMap;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.ModelNotFitException;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.except.ModelNotFitException;
import com.clust4j.utils.VecUtils;
public class LabelEncoder extends BaseModel implements java.io.Serializable {
private static final long serialVersionUID = 6618077714920820376L;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.HashSet;
......@@ -24,23 +24,23 @@ import java.util.concurrent.ConcurrentLinkedDeque;
import java.util.concurrent.ConcurrentSkipListSet;
import java.util.concurrent.RejectedExecutionException;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.IllegalClusterStateException;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.ModelNotFitException;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel.GaussianKernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel.RadialBasisKernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Loggable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.SimilarityMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.EntryPair;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.except.IllegalClusterStateException;
import com.clust4j.except.ModelNotFitException;
import com.clust4j.utils.EntryPair;
import com.clust4j.utils.MatUtils;
import com.clust4j.utils.VecUtils;
import com.clust4j.kernel.GaussianKernel;
import com.clust4j.kernel.RadialBasisKernel;
import com.clust4j.log.Log;
import com.clust4j.log.Loggable;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.SimilarityMetric;
import org.apache.commons.math3.exception.DimensionMismatchException;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.linear.Array2DRowRealMatrix;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import com.clust4j.log.LogTimer;
/**
* Mean shift is a procedure for locating the maxima of a density function given discrete
......
......@@ -14,12 +14,12 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import com.clust4j.utils.MatUtils;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
/**
......
......@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
public interface MetricValidator {
public boolean isValidMetric(GeometricallySeparable geo);
......
......@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.TableFormatter;
import com.clust4j.utils.TableFormatter;
import java.util.ArrayList;
......
......@@ -13,27 +13,27 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.HashSet;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.ModelNotFitException;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel.CircularKernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel.LogKernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Distance;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.scoring.SupervisedMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.ArrayFormatter;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.EntryPair;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.except.ModelNotFitException;
import com.clust4j.kernel.CircularKernel;
import com.clust4j.utils.ArrayFormatter;
import com.clust4j.utils.EntryPair;
import com.clust4j.utils.MatUtils;
import com.clust4j.utils.VecUtils;
import com.clust4j.kernel.LogKernel;
import com.clust4j.log.Log;
import com.clust4j.metrics.pairwise.Distance;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.scoring.SupervisedMetric;
import org.apache.commons.math3.exception.DimensionMismatchException;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import com.clust4j.log.LogTimer;
/**
* A supervised clustering algorithm used to predict a record's membership
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment