public class ClusTree extends AbstractClusterer
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
breadthFirstStrat
Parameter to determine wich strategy to use 
 | 
IntOption | 
horizonOption  | 
protected int | 
maxHeight
The maximal height of the tree. 
 | 
IntOption | 
maxHeightOption  | 
protected double | 
negLambda
Parameter for the weighting function use to weight the entries. 
 | 
protected Node | 
root
The root node of the tree. 
 | 
clustererRandom, clustering, evaluateMicroClusteringOption, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModelclassOptionNamesToPreparedObjects, options| Constructor and Description | 
|---|
ClusTree()  | 
| Modifier and Type | Method and Description | 
|---|---|
Clustering | 
getClustering(long currentTime,
             int targetLevel)  | 
Clustering | 
getClusteringResult()  | 
protected int | 
getDefaultHeight()  | 
int | 
getHeight()
Return the current height of the tree. 
 | 
Clustering | 
getMicroClusteringResult()  | 
void | 
getModelDescription(StringBuilder out,
                   int indent)  | 
protected Measurement[] | 
getModelMeasurementsImpl()  | 
int | 
getNumRootSplits()
Return the number of time the tree has grown in size. 
 | 
double[] | 
getVotesForInstance(weka.core.Instance inst)  | 
boolean | 
implementsMicroClusterer()  | 
void | 
insert(ClusKernel newPoint,
      Budget budget,
      long timestamp)
Insert a new point in the  
Tree. | 
boolean | 
isRandomizable()  | 
void | 
resetLearningImpl()  | 
void | 
trainOnInstanceImpl(weka.core.Instance instance)  | 
contextIsCompatible, copy, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModelContext, getModelMeasurements, getNominalValueString, getPurposeString, getSubClusterers, keepClassLabel, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstancediscoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUsecopy, measureByteSize, measureByteSize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCLICreationString, getOptions, prepareForUse, prepareForUsemeasureByteSizepublic IntOption horizonOption
public IntOption maxHeightOption
protected Node root
protected double negLambda
protected int maxHeight
protected boolean breadthFirstStrat
protected int getDefaultHeight()
public void resetLearningImpl()
resetLearningImpl in class AbstractClustererprotected Measurement[] getModelMeasurementsImpl()
getModelMeasurementsImpl in class AbstractClustererpublic boolean isRandomizable()
public void getModelDescription(StringBuilder out, int indent)
getModelDescription in class AbstractClustererpublic double[] getVotesForInstance(weka.core.Instance inst)
public boolean implementsMicroClusterer()
implementsMicroClusterer in interface ClustererimplementsMicroClusterer in class AbstractClustererpublic void trainOnInstanceImpl(weka.core.Instance instance)
trainOnInstanceImpl in class AbstractClustererpublic void insert(ClusKernel newPoint, Budget budget, long timestamp)
Tree. The point should be 
 represented as a cluster with a single data point(i.e. N = 1). A
 Budget class is also given, which is informed of the number
 of operation the tree does, and informs the tree when it does not have
 time left and should stop the insertion.newPoint - The point to be inserted.budget - The budget and statistics recollector for the insertion.timestamp - The moment at which this point is inserted.Kernel, 
Budgetpublic int getNumRootSplits()
public int getHeight()
maxHeight.maxHeightpublic Clustering getMicroClusteringResult()
getMicroClusteringResult in interface ClusterergetMicroClusteringResult in class AbstractClusterercurrentTime - The current timepublic Clustering getClusteringResult()
public Clustering getClustering(long currentTime, int targetLevel)
currentTime - The current timeCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.