Skip to content
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

2D sample weight for MultiOutputEstimator #13714

Conversation

kevin1kevin1k
Copy link
Contributor

Reference Issues/PRs

Fixes #10912.

What does this implement/fix? Explain your changes.

The original issue #10912 is about 2D sample weight for MultiOutputRegressor.
I made modifications in MultiOutputEstimator, so that this feature is available for not only MultiOutputRegressor but also MultiOutputClassifier.

Any other comments?

2D sample weight is useful in my use case, because different outputs have different numerical ranges.

@kevin1kevin1k
Copy link
Contributor Author

Seems like I should add some tests for 2D sample weights.
Is it fine for me to add by myself?
Thanks.

@amueller
Copy link
Member

amueller commented Aug 6, 2019

yes, there should be tests, and possibly an example? I'm not sure we want to support this because it adds quite a bit of complexity.

@amueller
Copy link
Member

amueller commented Aug 6, 2019

why would we add this here and not in the other estimators supporting multi-output?

Base automatically changed from master to main January 22, 2021 10:51
@adrinjalali
Copy link
Member

closing with lack of response

@adrinjalali adrinjalali closed this Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MultiOutputRegressor: Support for matrices of sample_weight
3 participants