Learn R Programming

aifeducation (version 1.0.2)

calc_standard_classification_measures: Calculate standard classification measures

Description

Function for calculating recall, precision, and f1.

Usage

calc_standard_classification_measures(true_values, predicted_values)

Value

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

Arguments

true_values

factor containing the true labels/categories.

predicted_values

factor containing the predicted labels/categories.

See Also

Other classifier_utils: get_coder_metrics()