-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Sample Breaks When Change Learner from FastTree to AveragedPerceptron #2477
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
@CESARDELATORRE This is blocking some part of CLI tool. |
The error message describes it cannot find the column If your scenario requires probabilities, please use one of our calibrator estimators to fit one. Nonetheless I do apologize; we have attempted to communicate that many learners would not be auto-calibrated months ago in issue #1604 and other channels outside of Github, but clearly that path of communication failed. I wonder if you share my opinion that other paths of communication might prove more reliable and capable, and if so, what you might suggest? If this is answered to your satisfaction, please feel free to close. If not of course followup question are always welcomed. |
Thank you, @TomFinley! |
The relevant issue for that The result however will still ultimately be, like everything else in the API, an |
Awesome, thanks a lot @TomFinley! Going to close out this issue as a duplicate of #1871 |
@TomFinley -- also, need to search through existing issues before filing new ones and consuming your time. Thanks for the really helpful responses. Will try to do this better in the future |
@srsaggam and I were looking at the sentiment analysis sample:
https://github.com/dotnet/machinelearning-samples/blob/a79ced6c6bb788c2189d81e5993863e15cf8be0c/samples/csharp/getting-started/BinaryClassification_SentimentAnalysis/SentimentAnalysis/SentimentAnalysisConsoleApp/Program.cs#L59
When you change the learner from 'FastTree' to 'AveragedPerceptron', the sample throws the exception:
This is probably because AveragedPerceptron is not calibrated, but FastTree is. Any thoughts on how to handle this scenario? We've successfully made use of PlattCalibratorEstimator, but I don't think this is supported b/c (1) it's not exposed / hanging off of MLContext, and (2) it takes an IPredictor
The text was updated successfully, but these errors were encountered: