public class MLOzaBagAdwin extends OzaBagAdwin
| Modifier and Type | Field and Description |
|---|---|
protected int |
m_L |
ADError, baseLearnerOption, ensemble, ensembleSizeOptionclassifierRandom, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModelclassOptionNamesToPreparedObjects, options| Constructor and Description |
|---|
MLOzaBagAdwin() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
getVotesForInstance(weka.core.Instance x)
Predicts the class memberships for a given instance.
|
void |
setModelContext(InstancesHeader raw_header)
Sets the reference to the header of the data stream.
|
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. |
getModelDescription, getModelMeasurementsImpl, getPurposeString, getSubClassifiers, isRandomizable, resetLearningImplcontextIsCompatible, copy, correctlyClassifies, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModelContext, getModelMeasurements, getNominalValueString, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, 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 void setModelContext(InstancesHeader raw_header)
ClassifierInstances.
This header is needed to know the number of classes and attributessetModelContext in interface ClassifiersetModelContext in class AbstractClassifierraw_header - the reference to the data stream headerpublic void trainOnInstanceImpl(weka.core.Instance inst)
AbstractClassifiertrainOnInstanceImpl in class OzaBagAdwininst - the instance to be used for trainingpublic double[] getVotesForInstance(weka.core.Instance x)
ClassifiergetVotesForInstance in interface ClassifiergetVotesForInstance in class OzaBagAdwinx - the instance to be classifiedCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.