Comments (5)
BTW, I'm on julia HEAD: JuliaLang/julia@244cffc
from clustering.jl.
The algorithm itself is only for dense matrices.
We may add a k-means algorithms for sparse matrices something in future. However, this is not very high in our priority list. A pull request may make this happen faster.
from clustering.jl.
@lindahua is there an actual dependency on dense vectors or just that it produces dense centroids? I don't know what the implementation is doing, but if it's doing some kind of kd-tree/ball-tree for a nearest neighbor approximation, that would make sense.
from clustering.jl.
The algorithm scans each element in a dense pattern when computing the mean & computing distances. The pairwise distance computing function only accepts dense matrices, as it relies on BLAS's gemm to compute distances in a very fast way.
from clustering.jl.
It does not use kd-tree in any way, it just relies on BLAS to compute pairwise Euclidean distances.
from clustering.jl.
Related Issues (20)
- DBSCAN docs - consistency between 2 APIs HOT 1
- both StatsBase and Distances export "pairwise"; uses of it in module Clustering must be qualified HOT 1
- Trying to use Dynamic Time Warping as metric in KMeans
- Adjusted Rand index inconsistency for large n
- Adjusted Rand Index inconsistency with Python's sklearn implementation HOT 1
- Adjacency-constrained hierarchical clustering? HOT 1
- AssertionError in kmedoids alg HOT 1
- TagBot trigger issue HOT 10
- conflict of "pairwise" in procedure `kmeans.jl` HOT 2
- Get WCSS (Within-Cluster Sum of Square) for optimal number of clusters in kmeans
- -1 silhouette score returned with empty classes HOT 1
- Docs not deployed for tags. HOT 3
- Unexpected behaviour of cutree - bug with :optimallayout? HOT 1
- Providing additional intrinsic evaluation metrices HOT 4
- Common clustering API (i.e., why aren't KShiftsClustering.jl, QuickShiftClustering.jl, QuickShiftClustering.jl SpectralClustering.jl here...?) HOT 7
- Fix warnings for latest Distances.jl HOT 1
- Hclust.order HOT 2
- Link to benchmarks from README?
- WARNING: both StatsBase and Distances export "pairwise!"; uses of it in module Clustering must be qualified HOT 10
- Is this package actively maintained? By who? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clustering.jl.