Package moa.clusterers.clustream
Class Clustream
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.clusterers.AbstractClusterer
-
- moa.clusterers.clustream.Clustream
-
- All Implemented Interfaces:
Configurable
,Serializable
,Clusterer
,AWTRenderable
,MOAObject
,OptionHandler
public class Clustream extends AbstractClusterer
Citation: CluStream: Charu C. Aggarwal, Jiawei Han, Jianyong Wang, Philip S. Yu: A Framework for Clustering Evolving Data Streams. VLDB 2003: 81-92- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description IntOption
kernelRadiFactorOption
IntOption
maxNumKernelsOption
IntOption
timeWindowOption
-
Fields inherited from class moa.clusterers.AbstractClusterer
clustererRandom, clustering, evaluateMicroClusteringOption, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModel
-
Fields inherited from class moa.options.AbstractOptionHandler
config
-
-
Constructor Summary
Constructors Constructor Description Clustream()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Clustering
getClusteringResult()
Clustering
getMicroClusteringResult()
void
getModelDescription(StringBuilder out, int indent)
protected Measurement[]
getModelMeasurementsImpl()
String
getName()
double[]
getVotesForInstance(Instance inst)
boolean
implementsMicroClusterer()
boolean
isRandomizable()
static Clustering
kMeans(int k, List<? extends Cluster> data)
static Clustering
kMeans(int k, Cluster[] centers, List<? extends Cluster> data)
void
resetLearningImpl()
void
trainOnInstanceImpl(Instance instance)
-
Methods inherited from class moa.clusterers.AbstractClusterer
adjustParameters, contextIsCompatible, copy, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModelContext, getModelMeasurements, getNominalValueString, getPurposeString, getSubClusterers, keepClassLabel, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance
-
Methods inherited from class moa.options.AbstractOptionHandler
getCLICreationString, getOptions, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
-
Methods inherited from class moa.AbstractMOAObject
copy, measureByteSize, measureByteSize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface moa.MOAObject
measureByteSize
-
Methods inherited from interface moa.options.OptionHandler
getCLICreationString, getOptions, prepareForUse, prepareForUse
-
-
-
-
Method Detail
-
resetLearningImpl
public void resetLearningImpl()
- Specified by:
resetLearningImpl
in classAbstractClusterer
-
trainOnInstanceImpl
public void trainOnInstanceImpl(Instance instance)
- Specified by:
trainOnInstanceImpl
in classAbstractClusterer
-
getMicroClusteringResult
public Clustering getMicroClusteringResult()
- Specified by:
getMicroClusteringResult
in interfaceClusterer
- Overrides:
getMicroClusteringResult
in classAbstractClusterer
-
implementsMicroClusterer
public boolean implementsMicroClusterer()
- Specified by:
implementsMicroClusterer
in interfaceClusterer
- Overrides:
implementsMicroClusterer
in classAbstractClusterer
-
getClusteringResult
public Clustering getClusteringResult()
-
getName
public String getName()
-
kMeans
public static Clustering kMeans(int k, List<? extends Cluster> data)
-
kMeans
public static Clustering kMeans(int k, Cluster[] centers, List<? extends Cluster> data)
-
getModelMeasurementsImpl
protected Measurement[] getModelMeasurementsImpl()
- Specified by:
getModelMeasurementsImpl
in classAbstractClusterer
-
getModelDescription
public void getModelDescription(StringBuilder out, int indent)
- Specified by:
getModelDescription
in classAbstractClusterer
-
isRandomizable
public boolean isRandomizable()
-
getVotesForInstance
public double[] getVotesForInstance(Instance inst)
-
-