Evaluate the Model on a Validation Set

Compute performance metrics.

ml_evaluate(x, dataset)

# S3 method for ml_model_logistic_regression
ml_evaluate(x, dataset)

# S3 method for ml_logistic_regression_model
ml_evaluate(x, dataset)

# S3 method for ml_model_linear_regression
ml_evaluate(x, dataset)

# S3 method for ml_linear_regression_model
ml_evaluate(x, dataset)

# S3 method for ml_model_generalized_linear_regression
ml_evaluate(x, dataset)

# S3 method for ml_generalized_linear_regression_model
ml_evaluate(x, dataset)

# S3 method for ml_evaluator
ml_evaluate(x, dataset)

Arguments

x

An ML model object or an evaluator object.

dataset

The dataset to be validate the model on.