Class UniformWeightedVoteMultiLabel
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.rules.multilabel.core.voting.AbstractErrorWeightedVoteMultiLabel
-
- moa.classifiers.rules.multilabel.core.voting.UniformWeightedVoteMultiLabel
-
- All Implemented Interfaces:
Serializable
,ErrorWeightedVoteMultiLabel
,MOAObject
public class UniformWeightedVoteMultiLabel extends AbstractErrorWeightedVoteMultiLabel
UniformWeightedVote class for weighted votes based on estimates of errors.- Version:
- $Revision: 1 $
- Author:
- João Duarte (joaomaiaduarte@gmail.com)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class moa.classifiers.rules.multilabel.core.voting.AbstractErrorWeightedVoteMultiLabel
errors, outputAttributesCount, votes, weightedVote, weights
-
-
Constructor Summary
Constructors Constructor Description UniformWeightedVoteMultiLabel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Prediction
computeWeightedVote()
Computes the weighted vote.-
Methods inherited from class moa.classifiers.rules.multilabel.core.voting.AbstractErrorWeightedVoteMultiLabel
addVote, coversAllOutputs, getDescription, getNumberVotes, getNumberVotes, getOutputAttributesErrors, getPrediction, getWeightedError, getWeights
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface moa.classifiers.rules.multilabel.core.voting.ErrorWeightedVoteMultiLabel
copy
-
-
-
-
Method Detail
-
computeWeightedVote
public Prediction computeWeightedVote()
Description copied from interface:ErrorWeightedVoteMultiLabel
Computes the weighted vote. Also updates the weights of the votes.- Specified by:
computeWeightedVote
in interfaceErrorWeightedVoteMultiLabel
- Specified by:
computeWeightedVote
in classAbstractErrorWeightedVoteMultiLabel
- Returns:
- the weighted vote
-
-