Skip to content

FIX remove regressor multi_label tag#339

Merged
PSSF23 merged 5 commits intomainfrom
sklearn_tag
Feb 13, 2025
Merged

FIX remove regressor multi_label tag#339
PSSF23 merged 5 commits intomainfrom
sklearn_tag

Conversation

@PSSF23
Copy link
Copy Markdown
Member

@PSSF23 PSSF23 commented Dec 12, 2024

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Any other comments?

Copy link
Copy Markdown
Collaborator

@adam2392 adam2392 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

# However, for MORF it is not supported
tags = super().__sklearn_tags__()
tags.regressor_tags.multi_label = True
# tags.regressor_tags.multi_label = True
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps let's just add an inline comment saying "TODO: add regression support"?

Copy link
Copy Markdown
Collaborator

@adam2392 adam2392 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think tho branch should get updated wrt main

os: # see scipy wheels.yml GH actions
- [ubuntu-22.04, manylinux, x86_64]
- [macos-12, macosx, x86_64]
- [macos-latest, macosx, x86_64]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my education, why do we need this change?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for late reply. It's due to the drop of support for the previous Mac version.

@PSSF23 PSSF23 merged commit 6cdfb6f into main Feb 13, 2025
18 of 29 checks passed
@PSSF23 PSSF23 deleted the sklearn_tag branch February 13, 2025 19:34
@PSSF23
Copy link
Copy Markdown
Member Author

PSSF23 commented Feb 13, 2025

Merged for new changes on honest prune/kernel method #345

PSSF23 added a commit to neurodata/scikit-learn that referenced this pull request Mar 5, 2025
<!--
Thanks for contributing a pull request! Please ensure you have taken a
look at
the contribution guidelines:
https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md
-->

#### Reference Issues/PRs
neurodata/treeple#339
<!--
Example: Fixes scikit-learn#1234. See also scikit-learn#3456.
Please use keywords (e.g., Fixes) to create link to the issues or pull
requests
you resolved, so that they will automatically be closed when your pull
request
is merged. See
https://github.com/blog/1506-closing-issues-via-pull-requests
-->


#### What does this implement/fix? Explain your changes.


#### Any other comments?


<!--
Please be aware that we are a loose team of volunteers so patience is
necessary; assistance handling other issues is very welcome. We value
all user contributions, no matter how minor they are. If we are slow to
review, either the pull request needs some benchmarking, tinkering,
convincing, etc. or more likely the reviewers are simply busy. In either
case, we ask for your understanding during the review process.
For more information, see our FAQ on this topic:

https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention.

Thanks for contributing!
-->
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.

2 participants