Build parameter dictionary III: Layers

A solution to the exercise from the last section

Here's how I went about it.


Exercise 4: Build a parameter dictionary, part III: Layers

Add the parameters that define the layers and node images to the parameter dictionary.

  • Add the network-level parameters of number of layers, number of nodes per layer, and maximum number of nodes.
  • Add parameters defining the size of a node image.

Now we extend our collection of parameters to cover the neural network--its layers and the individual node images. Feel free to use my solution to the last exercise as a starting point: nn_viz_03.py

Ready? Go for it.

Discussion

2 comments