Skip to content
/ NTarp Public

A clustering method I have worked on in the past. Compatible with the SciKitLearn framework.

License

Notifications You must be signed in to change notification settings

AldenMB/NTarp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A clustering method I have worked on in the past. Compatible with the SciKitLearn framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published