org.ddogleg.clustering.kmeans
Interface InitializeKMeans_F64
-
- All Known Implementing Classes:
- InitializePlusPlus, InitializeStandard_F64, TestSeedFromKMeans_F64.FixedSeeds, TestStandardKMeans_F64.FixedSeeds
public interface InitializeKMeans_F64Selects the initial cluster positions for k-means
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidinit(int pointDimension, long randomSeed)Initializes internal data structures.voidselectSeeds(java.util.List<double[]> points, java.util.List<double[]> seeds)
-
-
-
Method Detail
-
init
void init(int pointDimension, long randomSeed)Initializes internal data structures. Must be called first.- Parameters:
pointDimension- NUmber of degrees of freedom in each point.randomSeed- Seed for any random number generators used internally.
-
selectSeeds
void selectSeeds(java.util.List<double[]> points, java.util.List<double[]> seeds)- Parameters:
points- Set of points which is to be clustered.seeds- List full of points which will act as the initial seed for k-means.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG