jsat.clustering.kmeans
Class LloydKernelKMeans
- java.lang.Object
-
- jsat.clustering.ClustererBase
-
- jsat.clustering.KClustererBase
-
- jsat.clustering.kmeans.KernelKMeans
-
- jsat.clustering.kmeans.LloydKernelKMeans
-
- All Implemented Interfaces:
- java.io.Serializable, Clusterer, KClusterer, Parameterized
public class LloydKernelKMeans extends KernelKMeans
An implementation of the naive algorithm for performing kernel k-means.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description LloydKernelKMeans(KernelTrick kernel)Creates a new Kernel K Means objectLloydKernelKMeans(LloydKernelKMeans toCopy)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description LloydKernelKMeansclone()int[]cluster(DataSet dataSet, int K, boolean parallel, int[] designations)int[]cluster(DataSet dataSet, int K, int[] designations)-
Methods inherited from class jsat.clustering.kmeans.KernelKMeans
cluster, cluster, cluster, cluster, distance, distance, findClosestCluster, findClosestCluster, getMaximumIterations, meanToMeanDistance, setMaximumIterations, supportsWeightedData
-
Methods inherited from class jsat.clustering.ClustererBase
createClusterListFromAssignmentArray, getDatapointsFromCluster
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jsat.parameters.Parameterized
getParameter, getParameters
-
Methods inherited from interface jsat.clustering.KClusterer
cluster, cluster, cluster, cluster
-
-
-
-
Constructor Detail
-
LloydKernelKMeans
public LloydKernelKMeans(KernelTrick kernel)
Creates a new Kernel K Means object- Parameters:
kernel- the kernel to use
-
LloydKernelKMeans
public LloydKernelKMeans(LloydKernelKMeans toCopy)
Copy constructor- Parameters:
toCopy- the object to copy
-
-
Method Detail
-
cluster
public int[] cluster(DataSet dataSet, int K, boolean parallel, int[] designations)
-
cluster
public int[] cluster(DataSet dataSet, int K, int[] designations)
-
clone
public LloydKernelKMeans clone()
- Specified by:
clonein interfaceClusterer- Specified by:
clonein interfaceKClusterer- Specified by:
clonein classKernelKMeans
-
-
DataMelt 3.0 © DataMelt by jWork.ORG