postproc: Attach postprocessing function to operator

Description Usage Arguments Details Value Author(s) See Also Examples

Description

The postprocessing function is applied during performance calculation after averaging but before dev is applied. This is the place where the root is taken of root mean squared errors.

Usage

1
2
3
postproc(op)

postproc (op) <- value

Arguments

op

the operator (function)

value

function (or its name or symbol) to do the post-processing. NULL deletes the postprocessing function.

Details

postproc (op) retrieves the postprocessing function (or NULL if none is attached)

Value

logical indicating the type of operator. NA if the attribute is missing.

Author(s)

Claudia Beleites

See Also

sens post

Examples

1
2
3
postproc (wRMSE)
myop <- function (r, p) p * (r == 1)
postproc (myop) <- `sqrt`

softclassval documentation built on May 2, 2019, 2:06 a.m.