Learn R Programming

D2MCS (version 1.0.1)

NoProbability: Compute performance across resamples.

Description

Computes the performance across resamples when class probabilities cannot be computed.

Arguments

Super class

D2MCS::SummaryFunction -> NoProbability

Methods

Inherited methods


Method new()

The function defined during runtime the usage of five measures: 'Kappa', 'Accuracy', 'TCR_9', 'MCC' and 'PPV'.

Usage

NoProbability$new()


Method execute()

The function computes the performance across resamples using the previously defined measures.

Usage

NoProbability$execute(data, lev = NULL, model = NULL)

Arguments

data

A data.frame containing the data used to compute the performance.

lev

An optional value used to define the levels of the target class.

model

An optional value used to define the M.L. model used.

Returns

A vector of performance estimates.


Method clone()

The objects of this class are cloneable with this method.

Usage

NoProbability$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

SummaryFunction