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

ENH adding alias "regression" and "classification" #1180

Merged
merged 5 commits into from
Dec 9, 2024

Conversation

mrastgoo
Copy link
Contributor

@mrastgoo mrastgoo commented Dec 6, 2024

closes #1177

Adding "regression" as an alias to "regressor" and "classification" to "classifier"

Copy link
Member

@glemaitre glemaitre 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 that we should add an entry in the CHANGES.rst to acknowledge the new options.

@@ -106,24 +106,24 @@ def tabular_learner(estimator, *, n_jobs=None):

We can easily get a default pipeline for regression or classification:

>>> tabular_learner('regressor') # doctest: +SKIP
>>> tabular_learner('regression') # doctest: +SKIP
Copy link
Member

Choose a reason for hiding this comment

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

For the later changes here and under, I don't think that we need to change the documentation.

@@ -61,14 +61,14 @@ def tabular_learner(estimator, *, n_jobs=None):

Copy link
Member

Choose a reason for hiding this comment

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

I think that we need to amend as well the documentation in the long summary just above where we already mentioned "regressor" and "classifier".

CHANGES.rst Outdated Show resolved Hide resolved
Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @mrastgoo

Copy link
Member

@Vincent-Maladiere Vincent-Maladiere left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @mrastgoo :)

@Vincent-Maladiere Vincent-Maladiere merged commit cf3c354 into skrub-data:main Dec 9, 2024
25 checks passed
@jeromedockes
Copy link
Member

awesome!! thanks a lot @mrastgoo :)

jeromedockes pushed a commit to jeromedockes/skrub that referenced this pull request Dec 11, 2024
TheooJ pushed a commit that referenced this pull request Dec 11, 2024
* bump version after 0.4.0 (#1162)

* DOC Correct typo in TableReport docstring (#1168)

* Add codespell support (#1126)

* add python 3.13 (#1170)

* add sections for the next release's changelogs (#1183)

* Add a verbosity parameter to TableReport to control the printing of messages in stdout when opening summary report (#1182)

* add verbose parameter to print_display to  toggle on or off printing of progress messages when generating table report (#1188)

* DOC add example for Cramer V for column_associations (#1186)

* ENH adding alias "regression" and "classification" (#1180)

* Bump codecov/codecov-action from 5.0.7 to 5.1.1 in the actions group (#1191)

* remove use of matplotlib.rc_context (#1172)

* MAINT adapt for scikit-learn 1.6 (#1135)

* Revert "MAINT adapt for scikit-learn 1.6 (#1135)" (#1194)

This reverts commit 18af508.

* MAINT compatibility sklearn 1.6.0 (#1169)

* MAINT fix nightly builds (#1193)

* Updating contributing doc to add more detail on how to start  (#1185)

* FIX better display of object columns with multi-line repr in tablereport (#1196)

* update changelog

---------

Co-authored-by: Matt J. <[email protected]>
Co-authored-by: Yaroslav Halchenko <[email protected]>
Co-authored-by: priscilla baah <[email protected]>
Co-authored-by: Reshama Shaikh <[email protected]>
Co-authored-by: mrastgoo <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <[email protected]>
Co-authored-by: Riccardo Cappuzzo <[email protected]>
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.

Allow tabular_learner("regression")
4 participants