The class is used to store the computed probability after executing an specific voting scheme.
new()
Method for initializing the object variables during runtime.
FinalPred$new()
set()
Sets the computed probabilities after executing an specific voting scheme.
FinalPred$set(prob, raw, class.values, positive.class)
prob
A vector containing the probabilities of the prediction for a specific voting scheme.
raw
A vector containing the raw results of the prediction for a specific voting scheme.
class.values
A vector containing the class values.
positive.class
A character value containing the positive class.
getProb()
Gets the probabilities of the prediction for a specific voting scheme.
FinalPred$getProb()
The vector value of probabilities of the prediction for a specific voting scheme.
getRaw()
Gets the raw results of the prediction for a specific voting scheme.
FinalPred$getRaw()
The vector value of raw results of the prediction for a specific voting scheme.
getClassValues()
Gets the class values (positive class + negative class).
FinalPred$getClassValues()
The vector value of class values.
getPositiveClass()
Gets the positive class.
FinalPred$getPositiveClass()
The character value of positive class.
getNegativeClass()
Gets the negative class.
FinalPred$getNegativeClass()
The character value of negative class.
clone()
The objects of this class are cloneable with this method.
FinalPred$clone(deep = FALSE)
deep
Whether to make a deep clone.
Prediction
, SimpleVoting
,
SingleVoting
, CombinedVoting
,
VotingStrategy