pythonPackages.hdbscan: init at 0.8.12 (#37762)

This commit is contained in:
Matan Shenhav 2018-04-29 21:22:12 +03:00 committed by Robert Schütz
parent 8b6fe6680f
commit 80bf73b11c
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, cython
, numpy
, nose
, scipy
, scikitlearn
, fetchPypi
}:
buildPythonPackage rec {
pname = "hdbscan";
version = "0.8.12";
src = fetchPypi {
inherit pname version;
sha256 = "0yxi34frg2jwyvjl942qy4gq5pbx8dq4pf4p28d1xah8njchfqir";
};
checkInputs = [ nose ];
propagatedBuildInputs = [ cython numpy scipy scikitlearn ];
meta = with lib; {
description = "Hierarchical Density-Based Spatial Clustering of Applications with Noise, a clustering algorithm with a scikit-learn compatible API";
homepage = http://github.com/scikit-learn-contrib/hdbscan;
license = licenses.bsd3;
maintainers = with maintainers; [ ixxie ];
};
}

View File

@ -6342,6 +6342,8 @@ in {
propagatedBuildInputs = with self; [ requests webob ];
};
hdbscan = callPackage ../development/python-modules/hdbscan { };
hmmlearn = callPackage ../development/python-modules/hmmlearn { };
hcs_utils = callPackage ../development/python-modules/hcs_utils { };