You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add user friendly string options for interaction constraints in HistGradientBoosting* #24845
If no one is taking it I can take this issue. I have to make a contribution as part of one of my lectures at university so I'd be grateful for letting me do it.
However, perhaps I need more explanation. I've just checked the doc of HistGradientBoostingRegressor and there is no such argument as interaction_cst. So you would like to add this parameter and link the key word "no_interactions" or "pairwise" to what you showed in the part instead of. Am I correct? Perhaps you could describe a bit what this interaction means for this case.
Let me know if I got it right and if I can take this issue. (don't hesitate to tell me if this will be too hard for a beginner) Thanks.
@mzugravu Have a look at the linked PR. Interaction constraints are a new feature that will be released in 1.2. I split this issue into 2 parts. The first part "no_interactions" is the by far easier one.
But if this is your first contribution, I suggest searching for issues with label "good first issue" (or "easy").
Activity
mzugravu commentedon Nov 6, 2022
Hi,
If no one is taking it I can take this issue. I have to make a contribution as part of one of my lectures at university so I'd be grateful for letting me do it.
However, perhaps I need more explanation. I've just checked the doc of HistGradientBoostingRegressor and there is no such argument as interaction_cst. So you would like to add this parameter and link the key word "no_interactions" or "pairwise" to what you showed in the part instead of. Am I correct? Perhaps you could describe a bit what this interaction means for this case.
Let me know if I got it right and if I can take this issue. (don't hesitate to tell me if this will be too hard for a beginner) Thanks.
lorentzenchr commentedon Nov 6, 2022
@mzugravu Have a look at the linked PR. Interaction constraints are a new feature that will be released in 1.2. I split this issue into 2 parts. The first part
"no_interactions"is the by far easier one.But if this is your first contribution, I suggest searching for issues with label "good first issue" (or "easy").
mzugravu commentedon Nov 7, 2022
Ok, thank you. I think I will keep searching it might be too hard for me.
betatim commentedon Nov 7, 2022
I'll take a look at this
ogrisel commentedon Nov 7, 2022
And maybe also (possibly in a follow-up PR) using the input feature names of the model when available:
lorentzenchr commentedon Nov 7, 2022
@betatim Go ahead.
@ogrisel We should open a new issue for feature names as argument option, for monotonic as well as interaction constraints.
ogrisel commentedon Nov 7, 2022
I agree. Let me do that and I will cross-link back to this issue.