-
Notifications
You must be signed in to change notification settings - Fork 0
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
Please provide legacy support for FeatureDatum input Tuples #10
Comments
So this getFeatures() method would be part of what class? |
I'm referring to the following method within com.scaleunlimited.classify.model.HashedFeaturesLibLinearModel.java: private Feature[] getFeatures(Map<String, Integer> terms) I'm suggesting that a second method in the same class be written with the old signature: private Feature[] getOldFeatures(Map<String, Double> terms) |
The tricky part is that |
Or I guess I could convert |
There's legacy code out there that expects to call the classify() method with FeatureDatum Tuples, but this method now supports only TermsDatum Tuples. Why not have a legacy getFeatures() method that takes a term map used by a legacy classify() method that takes a TermsDatum, etc.?
The text was updated successfully, but these errors were encountered: