npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datagrok/eda

v1.10.0

Published

Exploratory Data Analysis Tools

Readme

EDA

Docs: Predictive Modeling Docs: Dimensionality Reduction Docs: Cluster Data Docs: Multivariate Analysis Docs: Group Comparison Tutorial: Multivariate Analysis

EDA is a package for the Datagrok platform. It provides the following exploratory data analysis and machine learning tools:

  • Dimensionality reduction

    • Principal component analysis (PCA)
    • Uniform manifold approximation and projection (UMAP)
    • t-distributed stochastic neighbor embedding (t-SNE)
    • Stochastic proximity embedding (SPE)
  • Multivariate analysis

    • Partial least squares regression (PLS)
    • Quadratic PLS regression
  • Supervised machine learning

    The machine learning methods, PCA and PLS run on Crux (scikit-learn, XGBoost and CatBoost ports and the RealMLP / TabM neural tabular models compiled to WebAssembly). Classifiers return the class probabilities (proba_<class> columns) after the prediction; SVM only with Class probabilities checked (Platt scaling: an internal 5-fold cross-validation, about 5 times the training time), which Forge sets from its Predict probability. Every classifier's training function declares meta.mlprobabilities (true, or the name of the input that turns the probabilities on); Forge shows AUC-ROC and the ROC curve from them. Eda:classificationReport gives Forge AUC-ROC, average precision, the per-class values and the ROC and precision-recall curves (Forge computes balanced accuracy and MCC itself).

    Models saved before the move to Crux are still applied, with the same predictions as before (prediction only, no class probabilities): PLS regression models with stored feature names, Linear regression models from EDA 1.8.0 and Softmax, XGBoost and SVM models from EDA 1.9.0. Older models must be retrained.

    Training and applying models with these methods in the platform's UI needs the Forge plugin (ML | Models); without it the platform shows no predictive modeling tool.

    Hyperparameters: XGBoost has Iterations (boosting rounds), Rate (eta), Max depth, L2 / L1 (lambda / alpha on the leaf weights), Row sample and Column sample (the share of rows / features sampled for each tree, default 1) and Model seed. SVM has Max iterations (default 1000000): the solver stops there unconverged and still returns the model, so a setting that does not converge (some polynomial kernels with a large gamma ran for over 15 minutes) cannot hang a search; it is not searched. A Model seed input exists only where Crux uses one: Random Forest, Extra Trees, Hist Gradient Boosting, CatBoost, Decision Tree, Neural Network, RealMLP, TabM, XGBoost (only with a sample below 1) and Linear Regression (its solvers are deterministic with these settings). PLS Regression, Softmax, SVM, k-nearest neighbors, Naive Bayes and LDA have no seed (SVM with Class probabilities uses the fixed seed 0, so its probabilities are reproducible).

    Inputs that depend on others: meta.mlenabled on a training function lists, per input, the conditions under which it is used (JSON {"<input>": <condition> | [<condition>, ...]}; a condition's clauses must all hold, an array means any of them; a clause is "<other input>": [values], "<other input>": {"gt": n} / {"lt": n} or "task": ["classification" | "regression"]). Forge disables an input whose rule fails and keeps its value. SVM: Gamma for the RBF, polynomial and sigmoid kernels, Degree for polynomial, Offset for polynomial and sigmoid, Epsilon for regression; Linear Regression: Iterations only with L1 > 0; XGBoost: Model seed only with Row sample or Column sample below 1.

    Search spaces: every training function declares meta.mlparallel (fits may run in parallel: EDA runs Crux in a pool of up to four workers, half the logical CPUs) and, every method but Naive Bayes, meta.mlspace: the ranges of its settings worth searching, in the ml.tune space format (int / float with low, high and log, categorical with choices) plus the end that gives the simpler model (simpler). Forge's Tune samples these ranges (narrowed by the user's Search options); its first trial is the form's current values when they lie inside the ranges, and the seed is never searched. For example, XGBoost searches Iterations 10-100, Rate 0.03-0.5, Max depth 1-10, L2 0.1-10 and L1 0.01-10 (log scale but for the depth), Row sample and Column sample 0.5-1.

  • Group comparison

    • Two-sample t-test (Welch and Student)
    • One-way analysis of variances (ANOVA)
    • Control comparisons against a single control (Dunnett's test and Holm-corrected Welch's t-tests)
  • Missing data imputation

    • k-nearest neighbors method (KNN)
  • Multi-objective optimization