Skip to content

Commit

Permalink
docs and changes in changes.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
mrastgoo committed Dec 6, 2024
1 parent 3c364be commit 57f3e7f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Ongoing development
Skrub is a very recent package.
It is currently undergoing fast development and backward compatibility is not ensured.

Major changes
-------------
* :func:`tabular_learner` accepts the alias ``"regression"`` for the option ``"regressor"`` and ``"classification"`` for ``"classifier"``.


Release 0.4.0
=============

Expand Down
2 changes: 1 addition & 1 deletion skrub/_tabular_learner.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def tabular_learner(estimator, *, n_jobs=None):
``estimator``.
Instead of an actual estimator, ``estimator`` can also be the special-cased strings
``'regressor'`` or ``'classifier'`` to use a
``'regressor'``, ``'regression'``, ``'classifier'``, ``'classification'`` to use a
:obj:`~sklearn.ensemble.HistGradientBoostingRegressor` or a
:obj:`~sklearn.ensemble.HistGradientBoostingClassifier` with default
parameters.
Expand Down

0 comments on commit 57f3e7f

Please sign in to comment.