You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
coremltools.utils.evaluate_regressor accepts target parameter only with 'prediction' column name. If i try set any other name for column then i get error "KeyError: 'prediction'".
The text was updated successfully, but these errors were encountered:
Looking at the code, it seem the target parameter is only used for getting predictions from the MLModel. I agree it would make more sense for it also to be the column name in the data.
This is also an issue with evaluate_classifier. However it's not an issue with evaluate_classifier_with_probabilities. So things seem a bit inconsistent.
coremltools.utils.evaluate_regressor accepts target parameter only with 'prediction' column name. If i try set any other name for column then i get error "KeyError: 'prediction'".
The text was updated successfully, but these errors were encountered: