public class ADACC extends DACC
Modifier and Type | Field and Description |
---|---|
protected int |
addedPermanent
Number of added snapshots
|
FloatOption |
equivIndexSizeOption
Threshold for concept equivalence
|
protected double |
index
Current stability index
|
protected static int |
MAXPERMANENT
Maximum number of snapshots (copies of classifiers kept in case of recurrence)
|
protected weka.core.Instances |
recentChunk
Last chunk of data of size (tau_size) to compute the stability index
|
FloatOption |
stabIndexSizeOption
Threshold for the stability index
|
protected int |
tau_size
Size of the evaluation window to compute the stability index
|
IntOption |
tauSizeOption
Evaluation window for the stability index computation
|
protected double |
theta_diff
Threshold values for the stability index and concept equivalence
|
protected double |
theta_stab
Threshold values for the stability index and concept equivalence
|
combinationOption, ensemble, ensembleAges, ensembleWeights, ensembleWindows, evaluationSizeOption, learnerOption, maturityOption, memberCountOption, nbInstances
classifierRandom, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModel
classOptionNamesToPreparedObjects, options
Constructor and Description |
---|
ADACC() |
Modifier and Type | Method and Description |
---|---|
void |
getModelDescription(StringBuilder out,
int indent)
Returns a string representation of the model.
|
protected Measurement[] |
getModelMeasurementsImpl()
Gets the current measurements of this classifier.
The reason for ...Impl methods: ease programmer burden by not requiring them to remember calls to super in overridden methods. |
protected int |
getNbActiveClassifiers()
Returns the number of classifiers used for prediction
which includes the adaptive learners and the snapshots in ADACC
|
protected int |
getNbAdaptiveClassifiers()
Returns the number of adaptive classifiers in the ensemble
which excludes the static snapshots in ADACC
|
String |
getPurposeString()
Gets the purpose of this object
|
protected void |
initVariables()
Initializes the method variables
|
void |
trainOnInstanceImpl(weka.core.Instance inst)
Trains this classifier incrementally using the given instance.
The reason for ...Impl methods: ease programmer burden by not requiring them to remember calls to super in overridden methods. |
discardModel, getHalf, getMAXIndexes, getSubClassifiers, getVotesForInstance, getWVDIndexes, isRandomizable, resetLearningImpl, trainAndClassify, updateEvaluationWindow
contextIsCompatible, copy, correctlyClassifies, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModelContext, getModelMeasurements, getNominalValueString, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance
discoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCLICreationString, getOptions, prepareForUse, prepareForUse
measureByteSize
public IntOption tauSizeOption
public FloatOption stabIndexSizeOption
public FloatOption equivIndexSizeOption
protected int tau_size
protected weka.core.Instances recentChunk
protected double theta_stab
protected double theta_diff
protected double index
protected static final int MAXPERMANENT
protected int addedPermanent
public String getPurposeString()
OptionHandler
getPurposeString
in interface OptionHandler
getPurposeString
in class DACC
protected void initVariables()
DACC
initVariables
in class DACC
public void trainOnInstanceImpl(weka.core.Instance inst)
AbstractClassifier
trainOnInstanceImpl
in class DACC
inst
- the instance to be used for trainingpublic void getModelDescription(StringBuilder out, int indent)
AbstractClassifier
getModelDescription
in class DACC
out
- the stringbuilder to add the descriptionindent
- the number of characters to indentprotected Measurement[] getModelMeasurementsImpl()
AbstractClassifier
getModelMeasurementsImpl
in class DACC
protected int getNbActiveClassifiers()
DACC
getNbActiveClassifiers
in class DACC
protected int getNbAdaptiveClassifiers()
DACC
getNbAdaptiveClassifiers
in class DACC
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.