Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion doc/whats_new/v0.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ scikit-learn:
The following samplers will give different results due to change linked to
the random state internal usage:

- :class:`imblearn.over_sampling.ADASYN`
- :class:`imblearn.over_sampling.SMOTENC`

Bug fixes
Expand Down Expand Up @@ -100,13 +101,14 @@ Enhancement
:pr:`644` by :user:`Guillaume Lemaitre <glemaitre>`.

- The samples generation in
:class:`imblearn.over_sampling.ADASYN`,
:class:`imblearn.over_sampling.SMOTE`,
:class:`imblearn.over_sampling.BorderlineSMOTE`,
:class:`imblearn.over_sampling.SVMSMOTE`,
:class:`imblearn.over_sampling.KMeansSMOTE`,
:class:`imblearn.over_sampling.SMOTENC` is now vectorize with giving
an additional speed-up when `X` in sparse.
:pr:`596` by :user:`Matt Eding <MattEding>`.
:pr:`596` and :pr:`649` by :user:`Matt Eding <MattEding>`.

Deprecation
...........
Expand Down
4 changes: 2 additions & 2 deletions imblearn/ensemble/_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class BalancedRandomForestClassifier(RandomForestClassifier):
subtree with the largest cost complexity that is smaller than
``ccp_alpha`` will be chosen. By default, no pruning is performed.

.. versionadded:: 0.22
.. versionadded:: 0.6
Added in `scikit-learn` in 0.22

max_samples : int or float, default=None
Expand All @@ -220,7 +220,7 @@ class BalancedRandomForestClassifier(RandomForestClassifier):
the number of samples given in `max_samples` and the number of samples
obtained after resampling.

.. versionadded:: 0.22
.. versionadded:: 0.6
Added in `scikit-learn` in 0.22

Attributes
Expand Down