| ProbBasedMethodology {D2MCS} | R Documentation |
Methodology to obtain the combination of the probability of different metrics.
Description
Calculates the mean of the probabilities of the different metrics.
Super class
D2MCS::Methodology -> ProbBasedMethodology
Methods
Public methods
Inherited methods
Method new()
Method for initializing the object arguments during runtime.
Usage
ProbBasedMethodology$new(required.metrics = c("MCC", "PPV"))Arguments
required.metricsA character vector of length greater than 2 with the name of the required metrics.
Method compute()
Function to compute the probability of the final prediction based on different metrics.
Usage
ProbBasedMethodology$compute( raw.pred, prob.pred, positive.class, negative.class )
Arguments
raw.predA character list of length greater than 2 with the class value of the predictions made by the metrics.
prob.predA numeric list of length greater than 2 with the probability of the predictions made by the metrics.
positive.classA character with the value of the positive class.
negative.classA character with the value of the negative class.
Returns
A numeric value indicating the probability of the instance is predicted as positive class.
Method clone()
The objects of this class are cloneable with this method.
Usage
ProbBasedMethodology$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.