Built-in & External Datasets
Fetch the CIFAR-10 image classification dataset.
Fetch the MNIST handwritten digits dataset.
Download a Kaggle dataset or specific file.
Fetch metadata for a Kaggle dataset.
List files in a Kaggle dataset.
Read Kaggle credentials from the standard kaggle.json file.
Search Kaggle datasets.
Load the Breast Cancer Wisconsin (Diagnostic) dataset (UCI).
Load the synthetic Concentric Rings classification dataset.
Load the synthetic Crop Yield regression dataset.
Load the synthetic Customer Segments clustering dataset.
Load the Diabetes regression dataset (Efron et al., 2004).
Load the Optical Recognition of Handwritten Digits dataset (UCI).
Load the synthetic Energy Efficiency regression dataset.
Load the synthetic Fitness Scores multi-output regression dataset.
Load the synthetic Flowers Extended classification dataset.
Load the synthetic Fruit Quality classification dataset.
Load the synthetic Gaussian Islands classification dataset.
Load the synthetic Housing-Mini regression dataset.
Load the Iris dataset (R.
Load the synthetic Leaf Shapes classification dataset.
Load the synthetic Linnerud multi-output regression dataset.
Load the synthetic Moons-Multi classification dataset.
Load the synthetic Perfectly Separable classification dataset.
Load the synthetic Plant Growth regression dataset.
Load the synthetic Seed Morphology classification dataset.
Load the synthetic Sensor States classification dataset.
Load the synthetic Spiral Arms classification dataset.
Load the synthetic Student Performance classification dataset.
Load the synthetic Traffic Conditions classification dataset.
Load the synthetic Weather Outcomes multi-output regression dataset.
Load the Wine recognition dataset (UCI).
Fetch a CSV dataset from a remote URL and parse it into tensors.
Parse a CSV string into a RemoteDataset.
Fetch the 20 Newsgroups text classification dataset.
Fetch the IMDB movie review sentiment dataset.
import { fetch20Newsgroups, fetchCSVDataset, loadDigits, loadIris,} from "deepbox/datasets";console.log(loadIris().data.shape, loadIris().target.shape);console.log(loadDigits().data.shape);console.log(await fetchCSVDataset({ url: "https://example.com/data.csv" }));console.log(await fetch20Newsgroups({ subset: "train" }));