predict_pamr: Prediction using nearest shrunken centroids.

Description Usage Arguments Value Author(s) See Also

View source: R/pamr.r

Description

In case multiple thresholds give the same error the largest one is chosen (i.e. the one keeping the fewest features).

Usage

1
predict_pamr(object, x, threshold, thres_fun, ...)

Arguments

object

Fitted classifier.

x

Dataset of observations to be classified.

threshold

Threshold to use for classification. This argument is only needed if you want to override the value set during model fitting.

thres_fun

Threshold selection function. Only needed if you want to override the function set during model fitting.

...

Sent to pamr.predict.

Value

A list with elements:

Author(s)

Christofer Bäcklin

See Also

emil, fit_pamr, importance_pamr, modeling_procedure


emil documentation built on Aug. 1, 2018, 1:03 a.m.

Related to predict_pamr in emil...