Stores the predictions achieved by the best M.L. of each cluster.
new()
Method for initializing the object arguments during runtime.
ClusterPredictions$new(class.values, positive.class)
class.values
A character vector containing the values of the target class.
positive.class
A character with the value of the positive class.
add()
The function is used to add the prediction achieved by a specific M.L. model.
ClusterPredictions$add(prediction)
prediction
A Prediction
object containing the
computed predictions.
get()
The function returns the predictions placed at specific position.
ClusterPredictions$get(position)
position
A numeric value indicating the position of the predictions to be obtained.
A Prediction
object.
getAll()
The function returns all the predictions.
ClusterPredictions$getAll()
A list containing all computed predictions.
size()
The function returns the number of computed predictions.
ClusterPredictions$size()
A numeric value.
getPositiveClass()
The function gets the value of the positive class.
ClusterPredictions$getPositiveClass()
A character vector of size 1.
getClassValues()
The function returns all the values of the target class.
ClusterPredictions$getClassValues()
A character vector containing all target values.
clone()
The objects of this class are cloneable with this method.
ClusterPredictions$clone(deep = FALSE)
deep
Whether to make a deep clone.
D2MCS
, ClassificationOutput
,
Prediction