{{ message }}

Instantly share code, notes, and snippets.

# shaunlebron/neural-network-altviz.md

Last active Dec 17, 2019
alternative visualization for neural networks

# Neural Network Alt Viz

Use both scalar and vector nodes to simplify presentation and clarify computation (by linear algebra).

The weighted edges are replaced by two layers of vector nodes:

1. the first collects the previous neuron scalars into a vector
2. the second is a weight rack (a matrix), each vector containing all the weights for a neuron

Showing a single path to illustrate computation along its edges:

scalar         scalar            weight         scalar
neuron         vector            vector         neuron
* -----------> O ---------------> O ----------> *
(insert)             (.)             (=)
\dot product/


This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters