public class OzaBagAdwinML extends OzaBagAdwin implements MultiLabelLearner, MultiTargetRegressor
ADError, baseLearnerOption, ensemble, ensembleSizeOption
classifierRandom, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModel
config
Constructor and Description |
---|
OzaBagAdwinML() |
Modifier and Type | Method and Description |
---|---|
Prediction |
getPredictionForInstance(Example<Instance> example) |
Prediction |
getPredictionForInstance(MultiLabelInstance instance) |
double[] |
getVotesForInstance(Instance inst)
Predicts the class memberships for a given instance.
|
void |
trainOnInstanceImpl(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. |
void |
trainOnInstanceImpl(MultiLabelInstance instance) |
getModelDescription, getModelMeasurementsImpl, getPurposeString, getSubClassifiers, isRandomizable, resetLearningImpl
contextIsCompatible, copy, correctlyClassifies, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModel, getModelContext, getModelMeasurements, getNominalValueString, getPredictionForInstance, getSublearners, getVotesForInstance, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance, trainOnInstance
getCLICreationString, getOptions, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, correctlyClassifies, getPredictionForInstance, getSubClassifiers, trainOnInstance
getModel, getModelContext, getModelMeasurements, getSublearners, getVotesForInstance, isRandomizable, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance
getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
getDescription, measureByteSize
getAWTRenderer
public void trainOnInstanceImpl(Instance inst)
AbstractClassifier
trainOnInstanceImpl
in class OzaBagAdwin
inst
- the instance to be used for trainingpublic void trainOnInstanceImpl(MultiLabelInstance instance)
trainOnInstanceImpl
in interface MultiLabelLearner
public Prediction getPredictionForInstance(Example<Instance> example)
getPredictionForInstance
in interface Learner<Example<Instance>>
getPredictionForInstance
in class AbstractClassifier
public double[] getVotesForInstance(Instance inst)
Classifier
getVotesForInstance
in interface Classifier
getVotesForInstance
in class OzaBagAdwin
inst
- the instance to be classifiedpublic Prediction getPredictionForInstance(MultiLabelInstance instance)
getPredictionForInstance
in interface MultiLabelLearner
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.