NTarp
A Scikit-Learn implementation of the NTarp clustering algorithm, originally introduced here and developed further here.
The objective function of NTarp is the minimum normalized within-ss, and so this also necessarily includes an efficient way of computing this. The method used here is comparable to CKmeans.1d.dp in terms of algorithmic efficiency, but roughly twice as fast in practice (at least in my testing).
Installation
pip install ntarp
Usage
The main interface is the ntarp.NTarp object, which uses the sklearn cluster interface, through the fit and predict methods. In addition the withinss function is available as ntarp.separability.w.
Metadata
Release files for ntarp 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ntarp-0.0.2.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ntarp-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / ntarp-0.0.2.tar.gz
| Download URL | ntarp-0.0.2.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6541a74a45dec844e79f710bb83c203d424d258bc3fb7664a72fa71d79decea7
|
|
BLAKE2b-256 checksum How to use checksums |
4edc7739ba751b660ee5843aa368d43220b838729e9e51d1b037bdcb6072207b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / ntarp-0.0.2-py3-none-any.whl
| Download URL | ntarp-0.0.2-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
053e6c4a9226f2ceb87e86c4d2553124494b0a97386160b6c03f560a2fb84389
|
|
BLAKE2b-256 checksum How to use checksums |
f5c22398358a4f29b313fee78dca73584533831c87e1ad91bf02be5545bd5720
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|