{"repo":"saehm/DruidJS","free":true,"listed":false,"github":"https://github.com/saehm/DruidJS","clone":"git clone https://github.com/saehm/DruidJS.git","description":"A JavaScript Library for Dimensionality Reduction","language":"JavaScript","stars":126,"topics":["dimensionality-reduction","clustering","javascript-library","unsupervised-learning","matrix","t-sne","mds","pca","umap","ltsa"],"license":"LGPL-3.0","category":"chat-messaging","readme_excerpt":"DruidJS — A JavaScript Library for Dimensionality Reduction. Project high-dimensional data down to two or three dimensions while preserving the structure each method is designed to keep. DruidJS gives you 20 dimensionality reduction methods, 7 nearest-neighbor indices and 7 clustering algorithms behind one API, with SIMD-accelerated WebAssembly kernels and a pure-JavaScript fallback everywhere. Installation If you use npm, install with npm install @saehrimnir/druidjs , and use it with Otherwise download the files here, or use for instance unpkg this way: Quick start Every method has the same shape: construct it with the data and a parameters object, then call transform() . For a one-off projection there is a static shorthand: The iterative methods can be stepped instead of run to completion, so you can draw the embedding while it converges: Methods Dimensionality reduction — PCA · LDA · MDS · SMACOF · StressMDS · KKMDS · SQDMDS · t-SNE · UMAP · TriMap · PaCMAP · LocalMAP · Sammon · ISOMAP · LLE · LTSA · LSP · FastMap · TopoMap · MINFOTree Nearest neighbors — BallTree, KDTree, HNSW, Annoy, LSH, NNDescent, NaiveKNN Clustering — KMeans, KMedoids, XMeans, OPTICS, CURE, MeanShift, HierarchicalClustering (single, complete, average and Ward linkage) Performance The hot paths run through WebAssembly kernels once the input is large enough to pay for crossing the boundary, and fall back to JavaScript otherwise — automatically, with no difference in the API. Measured between the publish","default_branch":null,"files":null,"tree":[],"storefront":"/r/saehm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/saehm/DruidJS/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}