public class Dstream extends AbstractClusterer
Modifier and Type | Field and Description |
---|---|
FloatOption |
betaOption |
FloatOption |
clOption |
FloatOption |
cmOption |
FloatOption |
decayFactorOption |
clustererRandom, clustering, evaluateMicroClusteringOption, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModel
config
Constructor and Description |
---|
Dstream() |
Modifier and Type | Method and Description |
---|---|
Clustering |
getClusteringResult() |
int |
getCurrTime() |
double |
getDecayFactor() |
double |
getDL() |
double |
getDM() |
void |
getModelDescription(StringBuilder out,
int indent) |
protected Measurement[] |
getModelMeasurementsImpl() |
double[] |
getVotesForInstance(Instance inst) |
boolean |
isRandomizable() |
void |
printDStreamState()
Prints out the values of the parameters associated with this instance of the D-Stream algorithm:
gap;
decay factor (lambda);
C_m and C_l;
D_m and D_l; and
beta.
|
void |
printGridClusters()
Iterates through cluster_list and prints out each grid cluster therein as a string.
|
void |
printGridList()
Iterates through grid_list and prints out each density grid therein as a string.
|
void |
printInst(Instance inst) |
void |
resetLearningImpl() |
void |
trainOnInstanceImpl(Instance inst) |
contextIsCompatible, copy, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getMicroClusteringResult, getModelContext, getModelMeasurements, getNominalValueString, getPurposeString, getSubClusterers, implementsMicroClusterer, keepClassLabel, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance
getCLICreationString, getOptions, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCLICreationString, getOptions, prepareForUse, prepareForUse
measureByteSize
public FloatOption decayFactorOption
public FloatOption cmOption
public FloatOption clOption
public FloatOption betaOption
public boolean isRandomizable()
D-Stream is not randomizable.
public double[] getVotesForInstance(Instance inst)
D-Stream does not vote on instances.
public Clustering getClusteringResult()
Clusterer.getClusteringResult()
public void resetLearningImpl()
resetLearningImpl
in class AbstractClusterer
AbstractClusterer.resetLearningImpl()
public void trainOnInstanceImpl(Instance inst)
trainOnInstanceImpl
in class AbstractClusterer
trainOnInstanceImpl implements the procedure given in Figure 1 of Chen and Tu 2007
protected Measurement[] getModelMeasurementsImpl()
getModelMeasurementsImpl
in class AbstractClusterer
AbstractClusterer.getModelMeasurementsImpl()
public void getModelDescription(StringBuilder out, int indent)
getModelDescription
in class AbstractClusterer
AbstractClusterer.getModelDescription(java.lang.StringBuilder, int)
public int getCurrTime()
public double getDecayFactor()
public double getDM()
public double getDL()
public void printInst(Instance inst)
public void printDStreamState()
public void printGridList()
moa.clusterers.dstream.Dstream.grid_list
,
moa.clusterers.dstream.DensityGrid.toString
public void printGridClusters()
moa.clusterers.dstream.Dstream.cluster_list
,
moa.clusterers.dstream.GridCluster.toString
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.