~/talk

Neural Networks in Plain JavaScript

Talkat NodeTLV 2025 · on Tuesday, 2025-12-16· [javascript, machine-learning]
slides:none on file

Builds a neural network from scratch in plain JavaScript that predict(front/back) from three test scores on a dataset of ~1,000 developers, training on 800 examples. Implements predict, a learn step using gradient descent, epochs and a bias neuron, and adds a learning rate to speed convergence. Starts at ~51% raw, training without bias reaches ~71%, adding bias hits zero training error after ~101 epochs and ~98% test accuracy; tuning learning rate cuts epochs to under 20 with ~92% test accuracy.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:05Neural networks mimic nature
  3. 5:15Predicting developer roles
  4. 7:23Building a neuron in JavaScript
  5. 9:12Why the network failed
  6. 10:59Learning with gradient descent
  7. 13:08Training the network
  8. 15:18Adding bias for power
  9. 17:51Noise and training challenges
  10. 19:37Optimizing learning rate
  11. 21:28Testing the improved network
  12. 22:51Scaling to big networks
  13. 24:38Architectural pitfalls
  14. 26:46Using neural network frameworks
  15. 28:10Data preparation matters
  16. 29:18Live demo and results
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.