public class PredPair
extends java.lang.Object
Constructor and Description |
---|
PredPair(java.lang.String pred,
double sum)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPrediction()
Provides the predicted class associated to a given instance
|
double |
getVotingValue()
Provides the value of the voting procedure associated to a given instance
|
public PredPair(java.lang.String pred, double sum)
pred
- Predicted class for an instancesum
- Given value of the voting procedurepublic java.lang.String getPrediction()
public double getVotingValue()