MockDataLab
Data & MLNature / JMLR-style reference7 published templates

Statistics and machine learning datasets

MockDataLab builds seeded regression and classification tables you can inspect, rerun, and grade against a known generating rule. In real coursework and software tests, an observed table hides its true mean and noise variance, which makes it hard to tell whether a fitting script has a bug or whether the sample is simply noisy. Every specimen on this hub commits to an explicit formula or class geometry first, then draws inputs and adds controlled noise from a named unsigned 32-bit seed. Because both the clean column and the noisy column are written into the export, students and engineers can check fitted coefficients, residual variance, and decision boundaries directly against the generator.

Regression specimens draw one or two continuous inputs from uniform or normal distributions, evaluate the clean relationship, and add independent Gaussian noise plus optional outlier spikes. Classification specimens write a discrete label column instead of a continuous target, covering both linearly separable Gaussian clouds and interlocking crescents that defeat straight-line cuts. Every template runs entirely in your browser with no uploads and no server state, and every CSV, JSON, and Python snippet carries the line SYNTHETIC DATA - generated by MockDataLab (mockdatalab.com).

When none of the fixed specimens matches the equation your homework or benchmark needs, open the custom formula editor as an escape hatch. You can enter your own algebraic expression, name multiple inputs, choose uniform or normal ranges, adjust noise or outlier spikes, and download a reproducible table whose header records the exact expression and seed. Analytic time-series traces that used to sit alongside regression formulas now have their own home on the Signals & physics hub.

Fig. 3 · Nature / JMLR-style referenceseed 9
x1x2
Two interlocking half-circles, σ = 0.08, N = 200SYNTHETIC

Domain

Data & ML

Templates

7 seeded

Runtime

Browser

Free-form bench

Need your own equation?

Type any algebraic formula, add multiple inputs, configure Gaussian/uniform noise or outliers, and export CSV, JSON, or Python.

Open custom formula editor

Formula specimens

Classification specimens

How the specimens differ

PageMeanNoiseSeed
Quadratic3*x^2 + sin(x)gaussian42
Linear regression1.8*x + 0.4gaussian7
Polynomial0.18*x^3 - 1.05*x^2 + 0.4*x + 2gaussian11
Two inputs0.9*x1 - 1.3*x2 + 0.35*x1*x2gaussian21
Blobsblobscluster5
Moonsmoonscoordinate9

See also

Analytic time traces that previously lived alongside these formula tables now sit on the Signals & physics hub. Neighboring benches apply the same seeded honesty rule to other domains: the Shepp–Logan phantom generates teaching CT reconstructions, and the underdamped step response records an input beside a noisy plant output. Static CSV downloads for every template live on the dataset index.