Learn R Programming

MBMethPred (version 0.1.4.2)

ModelMetrics: Model metrics

Description

A function to extract the confusion matrix information.

Usage

ModelMetrics(Model)

Value

A list

Arguments

Model

A trained model.

Examples

Run this code
xgboost <- XGBoostModel(SplitRatio = 0.2,
                        CV = 2,
                        NCores = 1,
                        NewData = NULL)
ModelMetrics(Model = xgboost)

Run the code above in your browser using DataLab