WEBVTT

00:00:00.000 --> 00:00:04.506
This tool runs the copied TensorFlow dot J S four point twenty-two

00:00:04.506 --> 00:00:09.013
automatic differentiation library in the browser, not a backend model. The default

00:00:09.013 --> 00:00:13.519
input two, weight zero point two and bias zero point one give

00:00:13.519 --> 00:00:18.025
logit zero point five. The sigmoid is about zero point six two

00:00:18.025 --> 00:00:22.531
two four five nine. Flipping label one to zero leaves that forward

00:00:22.531 --> 00:00:27.038
probability unchanged. Two equal bars at six hundred display pixels per probability

00:00:27.038 --> 00:00:31.544
unit are about three hundred seventy-three point four seven five pixels long.

00:00:31.544 --> 00:00:36.050
This is one scalar example and one neuron, not a trained language

00:00:36.050 --> 00:00:40.557
model or general network.

00:00:40.557 --> 00:00:44.960
For an unsaturated sigmoid with binary cross-entropy, the default weight gradient is

00:00:44.960 --> 00:00:49.364
the prediction minus the label, times input two. For label one it

00:00:49.364 --> 00:00:53.767
is about minus zero point seven five five zero eight one. For

00:00:53.767 --> 00:00:58.171
label zero it is about plus one point two four four nine

00:00:58.171 --> 00:01:02.574
one nine. Gradient descent subtracts learning rate zero point one times that

00:01:02.574 --> 00:01:06.978
gradient. Starting at weight zero point two gives about zero point two

00:01:06.978 --> 00:01:11.381
seven five five zero eight versus zero point zero seven five five

00:01:11.381 --> 00:01:15.785
zero eight. The number line uses fifteen hundred display pixels per weight

00:01:15.785 --> 00:01:20.188
unit: positions are five hundred fifty and two hundred fifty around the

00:01:20.188 --> 00:01:24.592
starting position four hundred thirty-six point seven three-eight. Floating-point library values are

00:01:24.592 --> 00:01:28.995
exported; the geometry rounds for teaching.

00:01:28.995 --> 00:01:33.885
At input zero, both weight gradients multiply by zero and the weight

00:01:33.885 --> 00:01:38.775
remains zero point two. Equal bars at fifteen hundred pixels per weight

00:01:38.775 --> 00:01:43.665
unit are three hundred pixels long; the bias can still change. The

00:01:43.665 --> 00:01:48.554
source direction display uses a strict greater-than comparison and shows a down

00:01:48.554 --> 00:01:53.444
arrow for equality, while its status says direction reverses. That wording is

00:01:53.444 --> 00:01:58.334
inaccurate for zero updates. The actual TensorFlow loss clips probabilities near zero

00:01:58.334 --> 00:02:03.224
and one, so saturated derivatives can also be zero rather than the

00:02:03.224 --> 00:02:08.114
simplified textbook rule. Download preserves the full trace, engine version, limitations and

00:02:08.114 --> 00:02:13.003
real timestamp. Editing inputs without Audit leaves a stale exported trace. This

00:02:13.003 --> 00:02:17.893
tool does not implement batches, hidden layers, momentum or regularization.
