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, nbInstancesclassifierRandom, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModelclassOptionNamesToPreparedObjects, 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, updateEvaluationWindowcontextIsCompatible, copy, correctlyClassifies, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModelContext, getModelMeasurements, getNominalValueString, 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 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()
OptionHandlergetPurposeString in interface OptionHandlergetPurposeString in class DACCprotected void initVariables()
DACCinitVariables in class DACCpublic void trainOnInstanceImpl(weka.core.Instance inst)
AbstractClassifiertrainOnInstanceImpl in class DACCinst - the instance to be used for trainingpublic void getModelDescription(StringBuilder out, int indent)
AbstractClassifiergetModelDescription in class DACCout - the stringbuilder to add the descriptionindent - the number of characters to indentprotected Measurement[] getModelMeasurementsImpl()
AbstractClassifiergetModelMeasurementsImpl in class DACCprotected int getNbActiveClassifiers()
DACCgetNbActiveClassifiers in class DACCprotected int getNbAdaptiveClassifiers()
DACCgetNbAdaptiveClassifiers in class DACCCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.