coremltools icon indicating copy to clipboard operation
coremltools copied to clipboard

Update API: utils.evaluate_regressor and utils.evaluate_classifier

Open TobyRoseman opened this issue 3 years ago • 0 comments

Don't assume source predictions are always stored (in the data frame) in a column called prediction. Instead, assume that column name matches the key in the dictionary returned by predict, similar to how we assume input keys to predict match other columns. This parameter value defaults to target.

This is an API breaking change.

Fixes #58

TobyRoseman avatar Aug 03 '22 20:08 TobyRoseman

CI run: https://gitlab.com/coremltools1/coremltools/-/pipelines/608715939

TobyRoseman avatar Aug 11 '22 23:08 TobyRoseman

Updated CI: https://gitlab.com/coremltools1/coremltools/-/pipelines/611972518

TobyRoseman avatar Aug 12 '22 22:08 TobyRoseman