make_table: Make a machine learning diagnostics table

Description Usage Arguments Value Author(s) Examples

Description

Takes a list of trained machine learning models and returns diagnostics as a data frame as to compare the effectiveness of algorithms. Measures include Accuracy, Prevalence, Detection Rate, F1, Cohen's Kappa, McNemar P-Value, Negative and Positive Predictive value, Precision, Recall, Sensitivity, and Specificity

Usage

1
make_table(models, test_x, test_y)

Arguments

models

A list of models of class 'train'

test_x

'data.frame' or 'tibble'. explanitory variables

test_y

'vector' target variable

Value

This function returns a data.frame including columns:

Author(s)

"Chad Schaeffer <sch12059@byui.edu>

Examples

1
2
3
4
## Not run: 
make_table(models_list, test_x, test_y)

## End(Not run)

BYUIDSS/BYUImachine documentation built on May 3, 2019, 5:22 p.m.