imbalanced-learn: init at 0.3.2

This commit is contained in:
Rob Vermaas 2018-02-15 17:19:20 +01:00
parent 017154391b
commit 9342b56eed
No known key found for this signature in database
GPG key ID: 6B726FB2EE6F4255

View file

@ -5152,6 +5152,30 @@ in {
};
imbalanced-learn = buildPythonPackage rec {
name = "imbalanced-learn-${version}";
version = "0.3.2";
src = pkgs.fetchurl {
url = "mirror://pypi/i/imbalanced-learn/${name}.tar.gz";
sha256 = "0j76m0rrsvyqj9bimky9m7b609y5v6crf9apigww3xvcnchhj901";
};
preConfigure = ''
export HOME=$PWD
'';
propagatedBuildInputs = with self; [ scikitlearn ];
buildInputs = with self; [ nose pytest pandas ];
meta = {
description = "Library offering a number of re-sampling techniques commonly used in datasets showing strong between-class imbalance";
homepage = https://github.com/scikit-learn-contrib/imbalanced-learn;
license = with licenses; [ mit ];
};
};
imread = buildPythonPackage rec {
name = "python-imread-${version}";
version = "0.6";