uhho / density-clustering

Density Based Clustering in JavaScript
MIT License
214 stars 33 forks source link

Type checking #11

Open phelbore opened 6 years ago

phelbore commented 6 years ago

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 mistake when using one-dimensional data.