lossMatrix: Build a loss matrix

Description Usage Arguments

Description

Build an arbitrary loss matrix for discrete classification

Usage

1
2
3
4
lossMatrix(truthLabels, predLabels, lossValues)

## S3 method for class 'lossMat'
print(x, ...)

Arguments

truthLabels

character vector of truth labels

predLabels

character vector of corresponding predicted labels, which must be the same length as truthLabels

lossValues

numeric vector of corresponding loss values, which must be the same length as truthLabels and predLabels.

x

An object of class lossMat

...

Additional arguments to


PNNL-Comp-Mass-Spec/glmnetGLR documentation built on May 28, 2019, 2:23 p.m.