-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Exception when trying to Evaluate AveragedPerceptronTrainer, LinearSvm #1579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Not sure this is a bug - AveragedPerceptron does not produce calibrated models. If we don't expose calibration APIs, we should probably do that. Also, we may want to consider warning when the probability column isn't there instead of throwing. |
..or call Exposing the calibration API is fine. I would just make a calibration estimator for that though, that trains towards one parameter. Embedding calibrator into learner seems somewhat unnecessary. |
Thanks for the comments. Using I have a few follow up questions, based on the comments above:
|
I mean that a calibrator is just one peculiar form of trainer: it learns a monotonous function that transforms 'scores' into 'probabilities', with the goal to minimize the log-loss against the 'target label'. So, it is actually a univariate classification trainer. We should create a
Some learners under some conditions are essentially learning a calibrated model. For example,
You can inspect the schema and see if there is a |
Closing this issue,, since we verified that Created a separate issue #1622 for adding calibration estimators in ML.NET |
For a couple of Learners, we get an exception during
Evaluate
Exception :
Message: System.ArgumentOutOfRangeException : Probability column 'Probability' not found
Parameter name: name
Sample :
The text was updated successfully, but these errors were encountered: