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
Different r2_score multioutput default in r2_score and base.RegressorMixin #12772
We've changed multioutput default in r2_score to "uniform_average" in 0.19, but in base.RegressorMixin, we still use multioutput='variance_weighted' (#5143).
Also see the strange things below:
Should we be deprecating and changing the multioutput used in RegressorMixin? How do we allow the user to select the new approach in a deprecation period?
@agramfort@ogrisel can you explain the rational behind this?
It looks to me like the behavior before the PR was exactly what we wanted an the PR broke the deprecation which requires us to do another deprecation cycle?
I vote +1 to deprecat and change the multioutput used in RegressorMixin. It seems misleading that r2_score and RegressorMixin have different defaults.
But yes, the deprecation is not easy. Maybe we can just warn and change the behavior after 2 versions.
And can someone tell me the difference between these two multioutput choices (e..g, why do you prefer uniform_average)? Seems that the deprecation is introduced in 1b1e10c and I can't find relevant discussions.
Activity
jnothman commentedon Dec 17, 2018
Should we be deprecating and changing the
multioutputused in RegressorMixin? How do we allow the user to select the new approach in a deprecation period?amueller commentedon Dec 17, 2018
@agramfort @ogrisel can you explain the rational behind this?
It looks to me like the behavior before the PR was exactly what we wanted an the PR broke the deprecation which requires us to do another deprecation cycle?
qinhanmin2014 commentedon Dec 18, 2018
I vote +1 to deprecat and change the multioutput used in RegressorMixin. It seems misleading that r2_score and RegressorMixin have different defaults.
But yes, the deprecation is not easy. Maybe we can just warn and change the behavior after 2 versions.
qinhanmin2014 commentedon Dec 18, 2018
And can someone tell me the difference between these two multioutput choices (e..g, why do you prefer uniform_average)? Seems that the deprecation is introduced in 1b1e10c and I can't find relevant discussions.