public class FadingTargetMean extends TargetMean
Modifier and Type | Field and Description |
---|---|
FloatOption |
fadingFactorOption |
errorSum, fadingErrorFactorOption, n, nError, sum
classifierRandom, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModel
classOptionNamesToPreparedObjects, options
Constructor and Description |
---|
FadingTargetMean() |
Modifier and Type | Method and Description |
---|---|
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. |
getCurrentError, getModelDescription, getModelMeasurementsImpl, isRandomizable, reset, resetError, updateAccumulatedError
contextIsCompatible, copy, correctlyClassifies, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModelContext, getModelMeasurements, getNominalValueString, getPurposeString, getSubClassifiers, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance
discoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCLICreationString, getOptions, prepareForUse, prepareForUse
measureByteSize
public FloatOption fadingFactorOption
public void trainOnInstanceImpl(weka.core.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(weka.core.Instance inst)
Classifier
getVotesForInstance
in interface Classifier
getVotesForInstance
in class TargetMean
inst
- the instance to be classifiedCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.