@machinelearningtogo: ➡️ Machine Learning from Scratch part 25: a real deep network Our code drew 400 points on two spirals wound into each other, 200 blue and 200 orange. The best possible straight line gets only 267 of them right, so a single neuron has no chance. The network has 3 inputs (x, y and a constant 1 that lets every line shift), hidden layers of 16, 16 and 3 neurons, and 1 output: 355 weights, random at the start. Each neuron weighs all the numbers from the layer before, adds them up and puts the sum through tanh. In each of 10,000 training steps the error flows back through every layer (backpropagation) and every weight takes a small step downhill. The network starts at 200 of 400, stumbles to 188 around step 857, gets all 400 right at step 1,613 and stays there from step 1,631 on. Following one new blue point at (0.611, 0.097): layer 1 draws 16 straight lines and checks which side the point is on, layer 2 combines those answers into bends and curves, and layer 3 squeezes everything into three numbers. In that space one flat plane separates all 400 points. The output reads 0.96, close to +1, so blue. An orange point ends at -1.00. The real test: 200 new points it has never seen, 200 of 200 right. Is that really deep? Deep learning means models consisting of multiple layers of neurons, so three hidden layers make a small deep network. We also gave the same 35 neurons one wide layer: on 20 other spiral sets it learned all 400 points only 8 times, the deep network all 20 times. #machinelearning #deeplearning #neuralnetwork #ai #python
MachineLearningToGo
Region: DE
Monday 05 October 2026 10:22:54 GMT
Music
Download
Comments
Mutantrejects438 :
on ue5 n game engine
2026-10-06 04:11:06
0
KaweniCell67 :
ternary code is the best for future
2026-10-06 02:20:22
0
roby_bloxy :
wow i didnt understand a single word
2026-10-05 12:59:40
4
neri ᗜˬᗜ :
please dont use AI for your scriptwriting, it's incomprehensible for a non ml person. or at least prompt it to give good explanations.
2026-10-05 11:24:29
3
Violet Quantum :
🔥🦖💜
2026-10-05 17:57:37
0
Mourad Mourad :
[Heartwarming][Heartwarming][Heartwarming]
2026-10-05 18:40:21
0
To see more videos from user @machinelearningtogo, please go to the Tikwm
homepage.