calc_standard_classification_measures: Calculate standard classification measures

View source: R/utils_TeClassifier.R

calc_standard_classification_measuresR Documentation

Calculate standard classification measures

Description

Function for calculating recall, precision, and f1.

Usage

calc_standard_classification_measures(true_values, predicted_values)

Arguments

true_values

factor containing the true labels/categories.

predicted_values

factor containing the predicted labels/categories.

Value

Returns a matrix which contains the cases categories in the rows and the measures (precision, recall, f1) in the columns.

See Also

Other classifier_utils: get_coder_metrics()


aifeducation documentation built on April 4, 2025, 2:01 a.m.