-
Notifications
You must be signed in to change notification settings - Fork 1.9k
ML.NET public API exposes parameter weights
which is not used.
#2175
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
There are several additional problems with weigh parameters::
This comes from the command line days. However it does not make much sense from the API point of veiw. |
seems related to issue #2177 |
Hi @abgoswam ... from what I see, it does. See here, in the
If the "connection" from weights in the constructor to weights in the trainer has been broken, that is what must be fixed. You should not remove the option -- you should make it work, right? At least so I would think. |
@TomFinley . Correct. As you pointed out, for this issue we need a fix whereby the weight column passed in the constructor gets used by the trainer. I have edited the bug description accordingly. |
@glebuk . I created a separate issue #2257 for the 2 comments above regarding naming convention for the
|
Removing api label, added bug label. Hence removing it from Project13 as well. |
For some of the learners e.g. SdcaRegression ML.NET public API exposes parameter
weights
machinelearning/src/Microsoft.ML.StandardLearners/StandardLearnersCatalog.cs
Lines 65 to 70 in cabf55b
However, the advanced
Options
forSdcaRegressionTrainer
do not have a field for 'WeightColumn'. Also, I believe the algo itself does not use weights (need to verify)We need to scrub our public API for such spurious uses of
weights
parameter.EDIT :
SdcaRegressionTrainer
does use the weights column. So the proper fix would be to ensure that the weight column passed in the constructor gets used by the trainer.WeightColumn
in the advancedOptions
forSdcaRegressionTrainer
and verify it gets used by the SDCA trainer.@sfilipi @glebuk @TomFinley
The text was updated successfully, but these errors were encountered: