public class OzaBagASHT extends OzaBag
OzaBagASHT -l ASHoeffdingTree -s 10 -u -r
Parameters:OzaBag
| Modifier and Type | Field and Description |
|---|---|
protected double |
alpha |
protected double[] |
error |
IntOption |
firstClassifierSizeOption |
FlagOption |
resetTreesOption |
FlagOption |
useWeightOption |
baseLearnerOption, ensemble, ensembleSizeOptionclassifierRandom, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModelclassOptionNamesToPreparedObjects, options| Constructor and Description |
|---|
OzaBagASHT() |
| Modifier and Type | Method and Description |
|---|---|
void |
getModelDescription(StringBuilder out,
int indent)
Returns a string representation of the model.
|
String |
getPurposeString()
Gets the purpose of this object
|
double[] |
getVotesForInstance(weka.core.Instance inst)
Predicts the class memberships for a given instance.
|
void |
resetLearningImpl()
Resets this classifier.
|
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. |
getModelMeasurementsImpl, getSubClassifiers, isRandomizablecontextIsCompatible, 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 firstClassifierSizeOption
public FlagOption useWeightOption
public FlagOption resetTreesOption
protected double[] error
protected double alpha
public String getPurposeString()
OptionHandlergetPurposeString in interface OptionHandlergetPurposeString in class OzaBagpublic void resetLearningImpl()
AbstractClassifierresetLearningImpl in class OzaBagpublic void trainOnInstanceImpl(weka.core.Instance inst)
AbstractClassifiertrainOnInstanceImpl in class OzaBaginst - the instance to be used for trainingpublic double[] getVotesForInstance(weka.core.Instance inst)
ClassifiergetVotesForInstance in interface ClassifiergetVotesForInstance in class OzaBaginst - the instance to be classifiedpublic void getModelDescription(StringBuilder out, int indent)
AbstractClassifiergetModelDescription in class OzaBagout - the stringbuilder to add the descriptionindent - the number of characters to indentCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.