get_error: Computes model misclassification rate

Description Usage Arguments Value Methods (by class) Author(s)

Description

Computes model misclassification rate

Usage

1
2
3
4
get_error(object, feats, targets, backend = "R")

## S3 method for class 'model.spec'
get_error(object, feats, targets, backend = "R")

Arguments

object

Linear classifier specification object.

feats

Numeric matrix. Features to predict. Dimensionality should be consistent with that of the model.

targets

Numeric matrix. TRUE targets to compare prediction against. Dimensionality should be consistent with that of the model. Should always be one-hot encoded.

backend

Computation back-end ('R', 'C', or 'CUDA')

Value

Numeric scalar. Misclassification rate. Percentage of wrong predictions.

Methods (by class)

Author(s)

Mohamed Ishmael Diwan Belghazi


IshmaelBelghazi/gpuClassifieR documentation built on May 7, 2019, 6:45 a.m.