Learn R Programming

D2MCS (version 1.0.1)

FP: Computes the False Positive value.

Description

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

Arguments

Super class

D2MCS::MeasureFunction -> FP

Methods


Method new()

Method for initializing the object arguments during runtime.

Usage

FP$new(performance.output = NULL)

Arguments

performance.output

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


Method compute()

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

Usage

FP$compute(performance.output = NULL)

Arguments

performance.output

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

Details

This function is automatically invoked 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

FP$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

MeasureFunction, ClassificationOutput, ConfMatrix