November 2018
Beginner to intermediate
348 pages
8h 32m
English
The fundamental understanding that neural networks are mathematical expressions leads to really simple and easy implementations of neural networks. Recall from the previous chapter that a neural network can be written like this:
func affine(weights [][]float64, inputs []float64) []float64 { return activation(matVecMul(weights, inputs))}
If we rewrite the code as a mathematical equation, we can write a neural network like this:

is the same as .We can simply write it out using Gorgonia, like this:
import ...
Read now
Unlock full access