Clustering.jl
Clustering.jl copied to clipboard
A Julia package for data clustering
I am trying to use KMedoids to optimize a K-nearest-neighbors classifier. I generated the distance matrix across my classification space but when i run ```julia res = kmedoids(dist_mat, TREE_SIZE) ```...
Hello, thank you for the great package. This is a question rather than a bug report. I wonder if this package supports adjacency-constrained clustering? Given distance matrix, I want to...
Variation of information can be normalized in different ways based on the properties of the application. I added a symbol argument to specify this normalization to the `varinfo` function and...
EDIT: The following analysis is pending changes in Julia 1.9.0, and not accurate yet. In theory, this should probably be a performance improvement, but the improvement doesn't happen in a...
I often use this metric, I think it's worth having. refs: https://nlp.stanford.edu/IR-book/html/htmledition/evaluation-of-clustering-1.html https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.214.7233&rep=rep1&type=pdf Included also is precision and recall for clustering, I was not sure about the proper name (e.g....
This PR adds a kw-argument `rng` to the methods that rely on RNG. This will break dependency on the default global RNG object and will allow to better control of...
- added pair confusion matrix (CM) calculations - fixed ARI calculation using CM
The adjusted Rand index fails unexpectedly when n is large (n > 100,000). Here is an example with a comparison to an R implementation. ``` using Random using Clustering using...
E.g. How does minpts in the distance matrix version map to the kwargs in the adjacency list version?
I'm trying to run clustering on a view with indices of type `UInt64`, but getting the error in the title. Code: ```julia import Pkg Pkg.activate(temp=true) Pkg.add("Clustering", io=devnull) Pkg.status() import Clustering...