|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.clustering.kmeans.DataSetBasedCentroidsInitialisationStrategy
public class DataSetBasedCentroidsInitialisationStrategy
This strategy initializes the parts of the returned centroids Vector
from
randomly chosen patterns in the dataset.
Constructor Summary | |
---|---|
DataSetBasedCentroidsInitialisationStrategy()
Create a new instance of DataSetBasedCentroidsInitialisationStrategy. |
Method Summary | |
---|---|
DataSetBasedCentroidsInitialisationStrategy |
getClone()
Create a cloned copy of the current object and return it. |
Vector |
initialise(ClusteringProblem problem,
ClusterableDataSet dataset)
Initialize the centroid vectors for a clustering from randomly chosen patterns in the given dataset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSetBasedCentroidsInitialisationStrategy()
Method Detail |
---|
public DataSetBasedCentroidsInitialisationStrategy getClone()
getClone
in interface Cloneable
Object.clone()
public Vector initialise(ClusteringProblem problem, ClusterableDataSet dataset)
initialise
in interface CentroidsInitialisationStrategy
problem
- the ClusteringProblem
currently being optimizeddataset
- the ClusterableDataSet
currently being clustered
Vector
that represents all the centroids
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |