ModelExtras - Keras

Published: 09 October 2017
on channel: Data Talks
1,658
27

Here we go over Inspecting, Saving and Loading the model - super important if we’re taking a model from fit to production!

Model Inspection- I talk about the model summary (comprising of chainable and unchainable parameters). Another way to introspect the model is by looking at the config, or by grabbing the specific layer and then using model.layers which will show you all the layers. Following this, I briefly go over history object.

Model Saving and Loading- I go over a coupe ways to do this:
1. Dumping the models on to json/yaml/config
2. Using model.save (this saves everything - the architecture, the weights, the state of the optimizer)

I then walk you through getting, setting and saving weights, after which I load the model.

Links:
1) Link to previous video on Sequential Model - Keras: https://www.youtube.com/edit?video_re...
2) Link to my Scikit Learn tutorial - A Bit of DataScience and Scikit Learn:    • Intro to Scikit Learn  
3) The Hitchhiker's Guide to Python - one of the best handbooks to the installation, configuration, and usage of Python that I have come across: http://docs.python-guide.org/en/latest/
4) Link to Keras: https://keras.io
5) Link to TensorFlow: https://www.tensorflow.org
6) GitHub link to a-bit-of-deep-learning-and-keras notebooks: https://github.com/knathanieltucker/a...


Watch video ModelExtras - Keras online without registration, duration hours minute second in high quality. This video was added by user Data Talks 09 October 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,658 once and liked it 27 people.