diagnose: Machine-Learning Model Statistics

Description Usage Arguments Value Examples

View source: R/Base_Functions.R

Description

Check model accuracy and statistics using ROC curves and variable importance

Usage

1
diagnose(model, model_type, train_data, test_data)

Arguments

model

Machine-learning model

model_type

Model type for plotting titles

train_data

Data trained on by the model

test_data

Data to test on by the model

Value

ROC curve and variable importance scores

Examples

1
importance <- diagnose(gbm_model, "GBM", train, test)

PippintheFoolhardy/SimFunctions documentation built on Dec. 18, 2021, 7:43 a.m.