Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DOC: Fixes Docs for estimator types do not list all possible estimator types #29956

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

Merged
merged 6 commits into from
Oct 15, 2024

Conversation

DeaMariaLeon
Copy link
Contributor

Reference Issues/PRs

Fixes #29900

What does this implement/fix? Explain your changes.

Any other comments?

Copy link

github-actions bot commented Sep 28, 2024

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 6cdcf64. Link to the linter CI: here

@DeaMariaLeon
Copy link
Contributor Author

Friendly ping to @Charlie-XIAO 🙂

Copy link
Contributor

@Charlie-XIAO Charlie-XIAO left a comment

Choose a reason for hiding this comment

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

LGTM overall, thanks @DeaMariaLeon! Just a few suggestions:

doc/developers/develop.rst Outdated Show resolved Hide resolved
doc/developers/develop.rst Outdated Show resolved Hide resolved
Copy link
Contributor

@Charlie-XIAO Charlie-XIAO left a comment

Choose a reason for hiding this comment

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

@Charlie-XIAO Charlie-XIAO added Quick Review For PRs that are quick to review Waiting for Second Reviewer First reviewer is done, need a second one! labels Oct 14, 2024
- ``"regressor"`` for regressors
- ``"clusterer"`` for clustering methods
- ``"outlier_detector"`` for outlier detectors
- ``"DensityEstimator"`` for density estimators
Copy link
Member

Choose a reason for hiding this comment

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

I agree that this matches our current code base; however, I find the casing style of the last tag value inconsistent with the others. However, I don't see any easy way to fix it without breaking backward compat because it's technically part of our public API.

I guess we have to live with it for now but keep it in mind if we want to release scikit-learn 2.0 one day.

/cc @adrinjalali as developer API specialist.

Copy link
Member

Choose a reason for hiding this comment

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

in a rework of this document, I'd like to remove all of these and only document developing estimators via inheriting from our mixins. That would remove these parts anyway.

Otherwise. also gonna work on a PR to move this from the class attribute to a tag. I think it's doable, but need to actually implement it to be sure.

Copy link
Member

Choose a reason for hiding this comment

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

/cc @adrinjalali as developer API specialist.

I like the fancy title 😅

@ogrisel ogrisel merged commit 6222054 into scikit-learn:main Oct 15, 2024
38 checks passed
@DeaMariaLeon DeaMariaLeon deleted the develop-doc branch October 15, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Quick Review For PRs that are quick to review Waiting for Second Reviewer First reviewer is done, need a second one!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs for estimator types do not list all possible estimator types
4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.