Layered network in 3D
Type a text and watch two letters go through 16 neurons to the prediction.
What this lab shows
A layered network connects the last two letters to 16 neurons, and these to 27 outputs, one for each possible letter. The colored connections show what pushes the prediction toward each letter. It only sees two letters back: this is called a fixed window.
A tiny network, really trained with numpy on simple sentences in Portuguese. It makes many mistakes outside that kind of sentence.
How to use it
- Type a short text.
- Rotate the scene and follow the lines from the two lit letters to the neurons in the middle.
- Use "most likely letter" and "drawn letter" to let the network write on its own.
After “o␣gato”, the network thinks the next letter is:
- ␣54%
- r25%
- d13%
- m2.5%
- n1.9%
Example calculated with the trained network (the interactive version needs JavaScript).
The lab could not load. The summary above still applies.
Books that use this lab
No published book uses this lab yet.