public interface ErrorWeightedVote
Modifier and Type | Method and Description |
---|---|
void |
addVote(double[] vote,
double error)
Adds a vote and the corresponding error for the computation of the weighted vote and respective weighted error.
|
double[] |
computeWeightedVote()
Computes the weighted vote.
|
MOAObject |
copy()
Creates a copy of the object
|
ErrorWeightedVote |
getACopy() |
int |
getNumberVotes()
The number of votes added so far.
|
double |
getWeightedError()
Returns the weighted error.
|
double[] |
getWeights()
Return the weights error.
|
void addVote(double[] vote, double error)
vote
- a vote returned by a classifiererror
- the error associated to the votedouble[] computeWeightedVote()
double getWeightedError()
double[] getWeights()
int getNumberVotes()
MOAObject copy()
ErrorWeightedVote getACopy()
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.