Neural Network Tutorial

By Xah Lee. Date: . Last updated: .

neural network is just a math function, of the form

Fold [ Function[af[#2 . #1 ]], {v, M1, M2, M3, M4 } ]

or written as

af[M4 . af[M3 . af[M2 . af[M1 . v]]]]

where

(* neural network, typical form *)
Fold [ Function[af[#2 . #1 ]], {v, M1, M2, M3, M4 } ] ===
af[M4 . af[M3 . af[M2 . af[M1 . v]]]]

(* example of matrix multiplication *)
{{a,b}, {c,d}, {e,f} } . {x,y} === {a*x + b*y, c*x + d*y, e*x + f*y}

How Neural Network Work

But what is a neural network? | Chapter 1, Deep learning
3Blue1Brown
Oct 5, 2017
Gradient descent, how neural networks learn | Chapter 2, Deep learning
3Blue1Brown
Oct 16, 2017
What is backpropagation really doing? | Chapter 3, Deep learning
3Blue1Brown
Nov 3, 2017
Backpropagation calculus | Chapter 4, Deep learning
3Blue1Brown
Nov 3, 2017

machine learning tutorials

Artificial Intelligence