Skip to content

Commit

Permalink
MAINT prepare release 0.9.0 (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre authored Jan 11, 2022
1 parent f1abf75 commit 3198e56
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
.. |PythonMinVersion| replace:: 3.7
.. |NumPyMinVersion| replace:: 1.14.6
.. |SciPyMinVersion| replace:: 1.1.0
.. |ScikitLearnMinVersion| replace:: 0.24.2
.. |ScikitLearnMinVersion| replace:: 1.0.1
.. |MatplotlibMinVersion| replace:: 2.2.3
.. |PandasMinVersion| replace:: 0.25.0
.. |TensorflowMinVersion| replace:: 2.4.3
Expand Down
21 changes: 4 additions & 17 deletions doc/whats_new/v0.9.rst
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
.. _changes_0_9:

Version 0.9.0 (under development)
=================================
Version 0.9.0
=============

Changelog
---------

New features
............


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

Bug fixes
.........

Maintenance
...........

Deprecation
...........
This release is mainly providing fixes that make `imbalaned-learn` works
with the latest release (`1.0.2`) of scikit-learn.
2 changes: 1 addition & 1 deletion imblearn/_min_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
NUMPY_MIN_VERSION = "1.14.6"
SCIPY_MIN_VERSION = "1.1.0"
PANDAS_MIN_VERSION = "0.25.0"
SKLEARN_MIN_VERSION = "0.24.2"
SKLEARN_MIN_VERSION = "1.0.1"
TENSORFLOW_MIN_VERSION = "2.4.3"
KERAS_MIN_VERSION = "2.4.3"
JOBLIB_MIN_VERSION = "0.11"
Expand Down
2 changes: 1 addition & 1 deletion imblearn/ensemble/tests/test_weight_boosting.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_rusboost(imbalanced_dataset, algorithm):
assert rusboost.decision_function(X_test).shape[1] == len(classes)

score = rusboost.score(X_test, y_test)
assert score > 0.7, f"Failed with algorithm {algorithm} and score {score}"
assert score > 0.6, f"Failed with algorithm {algorithm} and score {score}"

y_pred = rusboost.predict(X_test)
assert y_pred.shape == y_test.shape
Expand Down

0 comments on commit 3198e56

Please sign in to comment.