2018-04-29 19:22:12 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, cython
|
|
|
|
, numpy
|
|
|
|
, nose
|
|
|
|
, scipy
|
|
|
|
, scikitlearn
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hdbscan";
|
2018-10-06 11:56:17 +01:00
|
|
|
version = "0.8.18";
|
2018-04-29 19:22:12 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-06 11:56:17 +01:00
|
|
|
sha256 = "4d6782f08872f4c54983873a41759daae680d6247b0db363f3510cb001108f02";
|
2018-04-29 19:22:12 +01: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 21:12:57 +01:00
|
|
|
homepage = https://github.com/scikit-learn-contrib/hdbscan;
|
2018-04-29 19:22:12 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ixxie ];
|
|
|
|
};
|
|
|
|
}
|