-
Notifications
You must be signed in to change notification settings - Fork 834
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
Request to add parameter use_missing, zero_as_missing #902
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
@fucusy ah, this should be very easy to add. You can already specify it in any of the string parameters by a hack, eg any_string_param="value, zero_as_missing=True" |
in another issue a user used something like this recently: objective='huber, bin_construct_sample_cnt=200000, min_gain_to_split=0, min_child_weight=0.001, min_data_in_leaf=20, tree_learner=data, num_threads=0' |
Hey @imatiach-msft - I've been trying to use this parameter string injection with scala mmlspark, specifically using
But getting the following exception:
Got the same exception when setting |
@ffineis hmm it should just work, I'm surprised you are seeing the error for |
@ffineis my mistake, it looks like you need to remove the comma, see:
maybe try this: |
@imatiach-msft awesome, this works!! Thanks so much! |
closing as the params useMissing, zeroAsMissing have been added with PR: |
Is your feature request related to a problem? Please describe.
I'm always frustrated when dealing with missing value in spark, in our existing pipeline we represent missing value with 0, but zero_as_missing is not in the
TrainParams
, I don't know how to specify zero_as_missingDescribe the solution you'd like
Add setZeroAsMissing to
TrainParams
andLightGBMRanker
Additional context
Add any other context or screenshots about the feature request here.
AB#1761983
The text was updated successfully, but these errors were encountered: