density-clustering icon indicating copy to clipboard operation
density-clustering copied to clipboard

Density Based Clustering in JavaScript

Results density-clustering issues
Sort by recently updated
recently updated
newest added

The source code has a lot of incorrect type declarations which is confusing my IDE. Here are some examples: ``` /** * DBSCAN class construcotr * @constructor * * @param...

- update dependencies (up to date with node 12.6.0) - audit fix (3 low, 9 high, 1 critical)

When passing an array of values instead of an array of arrays to DBSCAN or OPTICS, strange clustering occurs instead of throwing an error. This is easy to do by...

Hello, it is very good algorithms I want show the results. Are there any chart to show the clusters? Google charts or other library.

https://github.com/uhho/density-clustering/blob/6fd080356cb05ae6a9bc980ec49b4731d08cfb5d/lib/KMEANS.js#L67 It seems the maxDim variable has not been initialized on this line.

Hi, Thanks for your work! Just having an issue with your implementation because in my case I'm working with 21k+ elements in the table and therefore your PriorityQueue implementation (which...

The lib/KMEANS.js file is encoded as UTF-8 text with byte order markers. That encoding can cause issues with some bundlers (specifically webpack). The rest of the library is encoded as...

Amy chance to support esm and not commonjs?

Hi, when using a tiny toy data set I get really weird results: ```js const data = [ [4,5], [5,5], [4,4], [4,4], [10,10], [9,9], [10,9], [9,10], [1,1] // outlier ]...

Hello! I'm processing 25.000 points, and I'm getting this error: ``` > RangeError: Maximum call stack size exceeded > at OPTICS._expandCluster (/Users/noel/NoFilter/nofilter-functions-mod/functions/node_modules/density-clustering/lib/OPTICS.js:185:43) > at OPTICS._expandCluster (/Users/noel/NoFilter/nofilter-functions-mod/functions/node_modules/density-clustering/lib/OPTICS.js:199:14) > at OPTICS._expandCluster (/Users/noel/NoFilter/nofilter-functions-mod/functions/node_modules/density-clustering/lib/OPTICS.js:199:14)...