311. Neural Network Visualization
Use Matplotlib to see what's going on in an autoencoder
You can enroll below or, better yet, unlock the entire End-to-End Machine Learning Course Catalog for 9 USD per month.
In this Building Blocks course we'll build a custom visualization of an autoencoder neural network using Matplotlib. The course is divided up into 33 small coding exercises, making it a step-by-step experience.
When we're done you'll have the python code to create and render this:
In addition to confidently navigating Matplotlib, the visualization code can come in handy if you ever decide to experiment with building neural networks of your own.
StartCode up the constants
StartBuild a parameter dictionary I: Figure (3:14)
StartBuild parameter dictionary II: Input (1:26)
StartBuild parameter dictionary III: Layers (2:52)
StartBuild parameter dictionary IV: Error image (1:21)
StartCreate the Figure (3:19)
StartSet Figure colors (5:16)
StartSet Figure resolution (2:37)
I love solving puzzles and building things. Machine learning lets me do both. I got started by studying robotics and human rehabilitation at MIT (MS '99, PhD '02), moved on to machine vision and machine learning at Sandia National Laboratories, then to predictive modeling of agriculture DuPont Pioneer, and cloud data science at Microsoft. At Facebook I worked to get internet and electrical power to those in the world who don't have it, using deep learning and satellite imagery and to do a better job identifying topics reliably in unstructured text. Now at iRobot I work to help robots get better and better at doing their jobs. In my spare time I like to rock climb, write robot learning algorithms, and go on walks with my wife and our dog, Reign of Terror.