2018-04-29 18:22:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, cython
|
|
|
|
, numpy
|
|
|
|
, nose
|
|
|
|
, scipy
|
|
|
|
, scikitlearn
|
|
|
|
, fetchPypi
|
2019-06-22 15:11:06 +00:00
|
|
|
, joblib
|
2018-04-29 18:22:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hdbscan";
|
2019-05-30 06:49:50 +00:00
|
|
|
version = "0.8.22";
|
2018-04-29 18:22:12 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 06:49:50 +00:00
|
|
|
sha256 = "5cfdc25375123eb9a72363449979141cc928c1953f220f0f81d7baabcaccec2d";
|
2018-04-29 18:22:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
2019-06-22 15:11:06 +00:00
|
|
|
nativeBuildInputs = [ cython ];
|
|
|
|
propagatedBuildInputs = [ numpy scipy scikitlearn joblib ];
|
2018-04-29 18:22:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Hierarchical Density-Based Spatial Clustering of Applications with Noise, a clustering algorithm with a scikit-learn compatible API";
|
2018-06-27 20:12:57 +00:00
|
|
|
homepage = https://github.com/scikit-learn-contrib/hdbscan;
|
2018-04-29 18:22:12 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ixxie ];
|
|
|
|
};
|
|
|
|
}
|