UseProbability: Compute performance across resamples.

UseProbabilityR Documentation

Compute performance across resamples.

Description

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

Super class

D2MCS::SummaryFunction -> UseProbability

Methods

Public methods

Inherited methods

Method new()

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

Usage
UseProbability$new()

Method execute()

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

Usage
UseProbability$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
UseProbability$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

SummaryFunction


D2MCS documentation built on Aug. 23, 2022, 5:07 p.m.