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)probA vector containing the probabilities of the prediction for a specific voting scheme.
rawA vector containing the raw results of the prediction for a specific voting scheme.
class.valuesA vector containing the class values.
positive.classA 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)deepWhether to make a deep clone.
Prediction, SimpleVoting,
SingleVoting, CombinedVoting,
VotingStrategy