Repository navigation
Mixed array namespace input for explained_variance_score, mean_squared_log_error, median_absolute_error, r2_score, root_mean_squared_log_error - #33515
Conversation
explained_variance_score, mean_squared_log_error, median_absolute_error, r2_score, root_mean_squared_log_error.
OmarManzoor
left a comment
There was a problem hiding this comment.
LGTM. Thank you @betatim
|
I think this can be merged too but there is a comment in the description which requires some input from other maintainers too. Plus there is a conflict. |
|
I resolved the conflict. Agree that getting a few eyes on the comment is important, but I think it should be handled in a new PR |
|
I agree that it should be handled in a new PR. Let's merge this then. The comment can still be discussed. |
|
I created an issue to discuss this #33519 |
|
I've just remembered why regression and classification metric support was not added in the original PR #32755 - we had discussed including this in a common function (e.g., See: #32755 (comment)
@ogrisel had actually done this (and originally suggested it) for regression metrics in his pipeline test PR #32873, see #32755 (comment) ping @ogrisel @betatim @OmarManzoor if we still/all agree that this would be a good idea? |
|
Ideally we'd be able to get rid of |
Reference Issues/PRs
Towards #26024
Follow up of #32755
What does this implement/fix? Explain your changes.
Adds mixed array namespace input for
explained_variance_score,mean_squared_log_error,median_absolute_error,r2_score,root_mean_squared_log_error.AI usage disclosure
I used AI assistance for:
Any other comments?
I think the way we handle
multioutputneeds thinking about. In particular when a user passes a numpy array or a list of weights. I think it will not get moved to the right namespace/device. This problem already exists so I didn't try to fix it. If y'all agree that there is something to fix I can make a new PR/issue for this.