get_missclassification_rate: Helper function to print prediction accuracy for a model.

Description Usage Arguments

Description

Helper function to print prediction accuracy for a model.

Usage

1
get_missclassification_rate(model, data_test, ...)

Arguments

model

a model object for which prediction is desired. E.g. object of class canonical_correlation_forrest, canonical_correlation_tree, tree or randomForest.

data_test

A data frame or a matrix containing the test data.

...

Further arguments passed to model.predict()


jandob/ccf documentation built on May 18, 2019, 12:23 p.m.