Skip to content

Commit

Permalink
imbalanced-learn: init at 0.3.2
Browse files Browse the repository at this point in the history
(cherry picked from commit 9342b56)
  • Loading branch information
rbvermaa committed Feb 22, 2018
1 parent bbcd0ef commit 883a4eb
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -6099,6 +6099,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";
Expand Down

0 comments on commit 883a4eb

Please sign in to comment.