10 buildPythonPackage rec {
11 pname = "imbalanced-learn";
13 disabled = isPy27; # scikit-learn>=0.21 doesn't work on python2
16 inherit pname version;
17 sha256 = "sha256-ThT3rmB4tauEO3PDebKsULIHRGQV2cJDjIhdbLWv2WI=";
20 propagatedBuildInputs = [ scikit-learn ];
21 checkInputs = [ pytestCheckHook pandas ];
30 "test_make_imbalanced_iris"
31 "test_rusboost[SAMME.R]"
33 # https://github.com/scikit-learn-contrib/imbalanced-learn/issues/824
34 "ValueDifferenceMetric"
38 description = "Library offering a number of re-sampling techniques commonly used in datasets showing strong between-class imbalance";
39 homepage = "https://github.com/scikit-learn-contrib/imbalanced-learn";
40 license = licenses.mit;
41 maintainers = [ maintainers.rmcgibbo ];