Skip to contents

converts the nested list of cross-validation metrics into a long-format data frame

Usage

process_cross_validation_metrics(results_models, classifiers)

Arguments

results_models

The list containing the results of the ML models, including cross-validation metrics.

classifiers

A character vector of classifier names to process (e.g., c(" rf", "svm_r", "knn")).

Value

A data frame with columns: classifier, metric, mean, sd.