draw_confusion_matrix: Draw confusion matrix for the model

View source: R/plot_metrics.R

draw_confusion_matrixR Documentation

Draw confusion matrix for the model

Description

Draw confusion matrix for the model

Usage

draw_confusion_matrix(best_models, test_data, observed)

Arguments

best_models

A list of models.

test_data

A test dataset.

observed

A vector of observed target values.

Value

A confusion matrix ggplot object.


ModelOriented/forester documentation built on June 6, 2024, 7:29 a.m.