public class FadingTargetMean extends TargetMean implements AMRulesRegressorFunction
Modifier and Type | Field and Description |
---|---|
FloatOption |
fadingFactorOption |
errorSum, fadingErrorFactorOption, n, nError, sum
classifierRandom, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModel
config
Constructor and Description |
---|
FadingTargetMean() |
Modifier and Type | Method and Description |
---|---|
double[] |
getVotesForInstance(Instance inst)
Predicts the class memberships for a given instance.
|
void |
resetLearningImpl()
Resets this classifier.
|
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. |
getCurrentError, getModelDescription, getModelMeasurementsImpl, isRandomizable, reset, resetError, updateAccumulatedError
contextIsCompatible, copy, correctlyClassifies, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModel, getModelContext, getModelMeasurements, getNominalValueString, getPredictionForInstance, getPredictionForInstance, getPurposeString, getSubClassifiers, 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
getCurrentError
getModel, getModelContext, getModelMeasurements, getPredictionForInstance, getSublearners, getVotesForInstance, isRandomizable, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance
copy, getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
getDescription, measureByteSize
getAWTRenderer
public FloatOption fadingFactorOption
public void trainOnInstanceImpl(Instance inst)
AbstractClassifier
trainOnInstanceImpl
in class TargetMean
inst
- the instance to be used for trainingpublic void resetLearningImpl()
AbstractClassifier
resetLearningImpl
in class TargetMean
public double[] getVotesForInstance(Instance inst)
Classifier
getVotesForInstance
in interface Classifier
getVotesForInstance
in class TargetMean
inst
- the instance to be classifiedCopyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.