Learn R Programming

D2MCS (version 1.0.1)

TN: Computes the True Negative value.

Description

This is the number of individuals with a negative condition for which the test result is negative. The value entered here must be non-negative.

Arguments

Super class

D2MCS::MeasureFunction -> TN

Methods


Method new()

Method for initializing the object arguments during runtime.

Usage

TN$new(performance.output = NULL)

Arguments

performance.output

An optional ConfMatrix parameter to define the type of object used to compute the TN measure.


Method compute()

The function computes the TN achieved by the M.L. model.

Usage

TN$compute(performance.output = NULL)

Arguments

performance.output

An optional ConfMatrix parameter to define the type of object used as basis to compute the TN measure.

Details

This function is automatically invoke by the ClassificationOutput object.

Returns

A numeric vector of size 1 or NULL if an error occurred.


Method clone()

The objects of this class are cloneable with this method.

Usage

TN$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

MeasureFunction, ClassificationOutput, ConfMatrix