File: v0.10.rst

package info (click to toggle)
imbalanced-learn 0.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,160 kB
  • sloc: python: 17,221; sh: 481; makefile: 187; javascript: 50
file content (73 lines) | stat: -rw-r--r-- 2,097 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.. _changes_0_10:

Version 0.10.1
==============

**December 28, 2022**

Changelog
---------

Bug fixes
.........

- Fix a regression in over-sampler where the string `minority` was rejected as
  an unvalid sampling strategy.
  :pr:`964` by :user:`Prakhyath Bhandary <Prakhyath07>`.

Version 0.10.0
==============

**December 9, 2022**

Changelog
---------

Bug fixes
.........

- Make sure that :class:`~imblearn.utils._docstring.Substitution` is
  working with `python -OO` that replace `__doc__` by `None`.
  :pr:`953` bu :user:`Guillaume Lemaitre <glemaitre>`.

Compatibility
.............

- Maintenance release for be compatible with scikit-learn >= 1.0.2.
  :pr:`946`, :pr:`947`, :pr:`949` by :user:`Guillaume Lemaitre <glemaitre>`.

- Add support for automatic parameters validation as in scikit-learn >= 1.2.
  :pr:`955` by :user:`Guillaume Lemaitre <glemaitre>`.

- Add support for `feature_names_in_` as well as `get_feature_names_out` for
  all samplers.
  :pr:`959` by :user:`Guillaume Lemaitre <glemaitre>`.

Deprecation
...........

- The parameter `n_jobs` has been deprecated from the classes
  :class:`~imblearn.over_sampling.ADASYN`,
  :class:`~imblearn.over_sampling.BorderlineSMOTE`,
  :class:`~imblearn.over_sampling.SMOTE`,
  :class:`~imblearn.over_sampling.SMOTENC`,
  :class:`~imblearn.over_sampling.SMOTEN`, and
  :class:`~imblearn.over_sampling.SVMSMOTE`. Instead, pass a nearest neighbors
  estimator where `n_jobs` is set.
  :pr:`887` by :user:`Guillaume Lemaitre <glemaitre>`.

- The parameter `base_estimator` is deprecated and will be removed in version
  0.12. It is impacted the following classes:
  :class:`~imblearn.ensemble.BalancedBaggingClassifier`,
  :class:`~imblearn.ensemble.EasyEnsembleClassifier`,
  :class:`~imblearn.ensemble.RUSBoostClassifier`.
  :pr:`946` by :user:`Guillaume Lemaitre <glemaitre>`.


Enhancements
............

- Add support to accept compatible `NearestNeighbors` objects by only
  duck-typing. For instance, it allows to accept cuML instances.
  :pr:`858` by :user:`NV-jpt <NV-jpt>` and
  :user:`Guillaume Lemaitre <glemaitre>`.