2018-04-29 18:22:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, cython
|
|
|
|
, numpy
|
|
|
|
, nose
|
|
|
|
, scipy
|
|
|
|
, scikitlearn
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hdbscan";
|
2018-07-22 10:10:25 +00:00
|
|
|
version = "0.8.15";
|
2018-04-29 18:22:12 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 10:10:25 +00:00
|
|
|
sha256 = "446f98e1ea622a39c1f396d839fa2b1c35db98234e373336de61c3bd6ffaec78";
|
2018-04-29 18:22:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|