evaluate_models {fastml}R Documentation

Evaluate Models Function

Description

Evaluates the trained models on the test data and computes performance metrics.

Usage

evaluate_models(models, test_data, label, metric = "Accuracy")

Arguments

models

A list of trained model objects.

test_data

Preprocessed test data frame.

label

Name of the target variable.

metric

The performance metric to optimize (e.g., "Accuracy", "ROC").

Value

A list of performance metrics for each model.


[Package fastml version 0.1.0 Index]