diff --git a/dev-python/hdbscan/ChangeLog b/dev-python/hdbscan/ChangeLog new file mode 100644 index 0000000..2841a7d --- /dev/null +++ b/dev-python/hdbscan/ChangeLog @@ -0,0 +1,4 @@ +*hdbscan-0.8.26 (12 Oct 2021) + + 12 Oct 2021; +hdbscan-0.8.26.ebuild, +metadata.xml: + dev-python/hdbscan: new package (DANDI ephys stack) diff --git a/dev-python/hdbscan/Manifest b/dev-python/hdbscan/Manifest new file mode 100644 index 0000000..fbf3307 --- /dev/null +++ b/dev-python/hdbscan/Manifest @@ -0,0 +1 @@ +DIST hdbscan-0.8.26.tar.gz 10776639 SHA256 2fd10906603b6565ee138656b6d59df3494c03c5e8099aede400d50b13af912b SHA512 7337f4246511d22e8e11308e7776aad6929f26674daecc1e174b01673782837815a40820a6565406315b1ae14ed059c4945810ac997abfde9e24abda352de622 WHIRLPOOL 792b2cfb440a5cfd17ef66c32418a1f59f5184a72e27c7afcb59433f51a4f6e432ef35cc91c5c6f4117c85d918a4a886ab99552b93b94e7cbcc5e5601aa31fef diff --git a/dev-python/hdbscan/hdbscan-0.8.26.ebuild b/dev-python/hdbscan/hdbscan-0.8.26.ebuild new file mode 100644 index 0000000..1284f12 --- /dev/null +++ b/dev-python/hdbscan/hdbscan-0.8.26.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="A high performance implementation of HDBSCAN clustering." +HOMEPAGE="https://github.com/scikit-learn-contrib/hdbscan" +SRC_URI="https://github.com/scikit-learn-contrib/hdbscan/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="test" +# Tests fail, reported to upstream +# https://github.com/scikit-learn-contrib/hdbscan/issues/501 + +DEPEND="" +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/joblib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + sci-libs/scikit-learn[${PYTHON_USEDEP}] +" +BDEPEND="" + +distutils_enable_tests pytest diff --git a/dev-python/hdbscan/metadata.xml b/dev-python/hdbscan/metadata.xml new file mode 100644 index 0000000..b43e627 --- /dev/null +++ b/dev-python/hdbscan/metadata.xml @@ -0,0 +1,28 @@ + + + + + gentoo@chymera.eu + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + HDBSCAN - Hierarchical Density-Based Spatial Clustering of Applications with + Noise. Performs DBSCAN over varying epsilon values and integrates the result + to find a clustering that gives the best stability over epsilon. This allows + HDBSCAN to find clusters of varying densities (unlike DBSCAN), and be more + robust to parameter selection. + + In practice this means that HDBSCAN returns a good clustering straight away + with little or no parameter tuning -- and the primary parameter, minimum + cluster size, is intuitive and easy to select. HDBSCAN is ideal for + exploratory data analysis; it's a fast and robust algorithm that you can + trust to return meaningful clusters (if there are any). + + + scikit-learn-contrib/hdbscan + +