deepbox
Installation
Install Deepbox from npm and target the stable v1.0.0 import model based on subpath exports.
Requirements
- Node.js >= 24.13.0.
- Use npm install deepbox from your application root.
- Prefer importing from deepbox/<module> rather than expecting root-level named exports.
- The root package exports namespaces such as db.ndarray and db.ml for convenience.
install.sh
npm install deepboximports.ts
import { tensor, zeros } from "deepbox/ndarray";import { DataFrame } from "deepbox/dataframe";import { StandardScaler } from "deepbox/preprocess";import { LinearRegression } from "deepbox/ml";import * as db from "deepbox";const a = tensor([1, 2, 3]);const df = new DataFrame({ value: [1, 2, 3] });const scaler = new StandardScaler();const model = new LinearRegression();const b = db.ndarray.zeros([2, 2]);