Keras - Python Deep Learning Neural Network API

with deeplizard.

Learnable parameters ("trainable params") in a Keras model

April 24, 2018 by

Description

Let's discuss how we can quickly access and calculate the number of learnable parameters in a Keras Sequential model. We do this by inspecting and verifying the results in the “Param #” column of model.summary(). We then inspect the parameters returned from model.get_weights() and compare the output of the weights and biases to that given in model.summary(). This video builds on concepts covered in “Learnable Parameters explained,” so check that one out first! https://youtu.be/pg3hJpSopHQ Follow deeplizard: YouTube: https://www.youtube.com/deeplizard Twitter: https://twitter.com/deeplizard Facebook: https://www.facebook.com/Deeplizard-145413762948316 Steemit: https://steemit.com/@deeplizard Instagram: https://www.instagram.com/deeplizard/ Support deeplizard on Patreon: https://www.patreon.com/deeplizard Checkout products deeplizard suggests on Amazon: https://www.amazon.com/shop/deeplizard Support deeplizard with crypto: Bitcoin: 1AFgm3fLTiG5pNPgnfkKdsktgxLCMYpxCN Litecoin: LTZ2AUGpDmFm85y89PFFvVR5QmfX6Rfzg3 Ether: 0x9105cd0ecbc921ad19f6d5f9dd249735da8269ef Recommended books on AI: The Most Human Human: What Artificial Intelligence Teaches Us About Being Alive: http://amzn.to/2GtjKqu Life 3.0: Being Human in the Age of Artificial Intelligence https://amzn.to/2H5Iau4 Playlists: Machine Learning - https://www.youtube.com/playlist?list=PLZbbT5o_s2xq7LwI2y8_QtvuXZedL6tQU Keras - https://www.youtube.com/playlist?list=PLZbbT5o_s2xrwRnXk_yCPtnqqo4_u2YGL Data Science - https://www.youtube.com/playlist?list=PLZbbT5o_s2xo_SRS9wn9OSs_kzA9Jfz8k Music: Brittle Rille by Kevin MacLeod Website: http://incompetech.com/ Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/