public interface ErrorWeightedVoteMultiLabel
Modifier and Type | Method and Description |
---|---|
void |
addVote(Prediction prediction,
double[] error)
Adds a vote and the corresponding error for the computation of the weighted vote and respective weighted error.
|
Prediction |
computeWeightedVote()
Computes the weighted vote.
|
MOAObject |
copy()
Creates a copy of the object
|
boolean |
coversAllOutputs()
Check if vote has a value for each output
|
int |
getNumberVotes()
The number of votes added so far.
|
int |
getNumberVotes(int outputAttribute)
The number of votes for a given output attribute.
|
double[] |
getOutputAttributesErrors()
Returns the weighted error.
|
Prediction |
getPrediction() |
double |
getWeightedError()
Returns the weighted error.
|
double[][] |
getWeights()
Return the weights error.
|
void addVote(Prediction prediction, double[] error)
vote
- - a vote returned by a classifiererror
- - the error associated to the votePrediction computeWeightedVote()
double getWeightedError()
double[] getOutputAttributesErrors()
double[][] getWeights()
int getNumberVotes()
int getNumberVotes(int outputAttribute)
outputAttribute
- the index of the output attributeboolean coversAllOutputs()
MOAObject copy()
Prediction getPrediction()
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.