Skip to contents

This function delegates the calculation of performance metrics for classification/regression results to the appropriate method based on the input object's class.

Usage

compute_performance(obj, result)

Arguments

obj

The input object for which the performance metrics should be computed.

result

The classification/regression result object to evaluate.

Value

A list of performance metrics for the input classification/regression result object.