Build parameter dictionary IV: Error image

A solution to the exercise from the last section

Here's how I went about it.

Exercise 5: Build a parameter dictionary, part IV: The error image

Add some more parameters to the dictionary;

  • Everything necessary to position and size the error image
  • All of the gaps in the image, including borders, the gaps between nodes and layers, and the gap between the output and error image.

Some of these parameters are constants. Those you can add. Some are derived parameters. Those you can calculate and add on the spot. Some of these parameters are to-be-calculated. Where you don't have the calculated value yet, just add zero as a placeholder.

Feel free to use my solution to the last exercise as a starting point:

Ready? Go for it.