What this site does. You bring a table of numbers, it gives you
numbers back. This page trains a small neural network on your data and lets you
watch it learn: the fitted curve and the loss update as it trains. It runs
entirely in your browser β nothing is uploaded, nothing is stored. If you want
the reasoning rather than the answer, the
machine learning basics article walks
through every part and setting.
A network learns only the range it is trained on: outside your x values its
curve comes with no guarantee.
- Paste your data into the Input grid β straight from a
spreadsheet, or as CSV/TSV text β or import a CSV/TSV file.
Two columns, x and y: one network. Up to 1,000 rows. The select above the
grid loads one of three samples: sin x, sin x + noise, |x β 5|.
- A row with no number in x is skipped. A row with x and an empty y is not
trained on; it gets a prediction. Training needs at least 5 rows with y.
- Pick the settings β Neurons (the hidden layer's size),
Activation, Learning rate, Epochs (up to 20,000) and Seed (the random start).
Changing Neurons, Activation or Seed starts a new network.
- Press Train. The upper chart shows your data and the
network's curve; the lower chart, Loss, the loss after every epoch, or
Network, a diagram of the network (line colour = the weight's sign, width =
its size). x and y are
standardized before training, so the loss is in scaled units: 1 means no
better than the average, 0 a perfect fit.
- Stop pauses; Train again continues from the
same weights until Epochs is reached. Raise Epochs to train further.
Reset starts again from the seed.
- Network β two views. Loss: the network's training record,
epoch by epoch. Network: the grid shows the network as it trains, in
scaled units, one row each: activation; seed; c, the output bias; x and y,
each with the mean and standard deviation used to scale it; then h1, h2, β¦
with the neuron's output weight v, input weight w and bias b. Type or paste
a network into it and press apply. Its
export writes two CSV files at once: the same rows, and
the loss record beside them as
<name>_loss.csv.
load reads a CSV or TSV back: pick the network file, then
answer Yes to pick its _loss file too - the loss record then
loads with it. Neurons, Activation and Seed follow the network,
and Predict runs at once, with no training;
Train continues from those weights.
- Why only one loss point after apply or load? A network
file, or rows you paste, holds the network itself - its weights, biases and
scaling - not the training that made it. So apply, or load without a loss
file, starts the loss record again with a single value: the network's loss
on the data in the grid now, at epoch 0, a dot on the loss chart. No
training has run yet. Press Train and the curve grows from
that point. Load the network with its
_loss file and the
record carries on instead.
- Output β x and the network's y. Export
saves it as a CSV/TSV file.