Abstract class used to define new SingleVoting
and
CombinedVoting
schemes.
new()
Abstract method used to initialize the object arguments during runtime.
VotingStrategy$new()
getVotingSchemes()
The function returns the voting schemes that will participate in the voting strategy.
VotingStrategy$getVotingSchemes()
A vector of object inheriting from VotingStrategy
class.
getMetrics()
The function is used to get the metric that will be used during the voting strategy.
VotingStrategy$getMetrics()
A character vector.
execute()
Abstract function used to implement the operation of the voting schemes.
VotingStrategy$execute(predictions, ...)
predictions
A ClusterPredictions
object containing
the prediction achieved for each cluster.
...
Further arguments passed down to execute
function.
getName()
The function returns the name of the voting scheme.
VotingStrategy$getName()
A character vector of size 1.
clone()
The objects of this class are cloneable with this method.
VotingStrategy$clone(deep = FALSE)
deep
Whether to make a deep clone.
D2MCS
, SingleVoting
,
CombinedVoting