290 likes | 313 Views
Follow Willy the Python magician as he encounters Lord Tensor, delves into sophisticated frameworks, and saves a kidnapped princess with Keras.
E N D
A gentle Keras starter • The fairytaleabout a Machine Learning Framework • Fabian Bormann, London, October 2018 IAV 10/2018 TC-T Fabian Bormann
Once Upon a Time… Willy the Wizard was a great Python magicianwith a lotofspells in hisjupyternotebook IAV 10/2018 TC-T Fabian Bormann
Once Upon a Time… Willy the Wizard was a great Python magicianwith a lotofspells in hisjupyternotebook IAV 10/2018 TC-T Fabian Bormann
Lord Tensor But someday he met a very powerful wizardcalled Lord Tensor IAV 10/2018 TC-T Fabian Bormann
The jupyternotebookof Lord Tensor Lord Tensor showedhimhis large jupyternotebookfor 5 minutes IAV 10/2018 TC-T Fabian Bormann
The jupyternotebookof Lord Tensor • The notebookcontained a lotofsophisticatedstuff like • LayertypesofNeural Networks • Activationfunctions • Optimizers und Metrics • Placeholders • Variables • The Graph • Train Safers and Checkpoints IAV 10/2018 TC-T Fabian Bormann
The Basics wx + b > 0 IAV 10/2018 TC-T Fabian Bormann
The Basics ComvNets MaxPooling Activations IAV 10/2018 TC-T Fabian Bormann
The Basics Stochastic Gradient Descent Adam Adadelta Adagrad RMSProp Learning rates Stepsize IAV 10/2018 TC-T Fabian Bormann
TensorFlow (2016) – isthere a tf. methodforeverynp. method? IAV 10/2018 TC-T Fabian Bormann
5 Minutesareover • The notebookcontained a lotofsophisticatedstuff like • LayertypesofNeural Networks • Activationfunctions • Optimizers und Metrics • Placeholders • Variables • The Graph • Train Safers and Checkpoints • BecauseofhisPythonicwaytothink, he was not abletounderstandthefunctionalpatternsof Lord Tensor in thisshort time IAV 10/2018 TC-T Fabian Bormann
When Willy came back homethekingarrivedandneedshishelp IAV 10/2018 TC-T Fabian Bormann
The princesshasbeenabducted#surprise MISSING The kingreceived a messagethathisdaughteris in thehighesttower oftheneighborkingdomcalled „DarkLand“ MISSING IAV 10/2018 TC-T Fabian Bormann
When Willy arrived.. He sawthatthedarkwizzard „MNISTO“ guardsthetower IAV 10/2018 TC-T Fabian Bormann
When Willy arrived.. He sawthatthedarkwizzard „MNISTO“ guardsthetower IAV 10/2018 TC-T Fabian Bormann
Willy walkedaroundthetowerto find anotherentryandsaw…theprincessthrowing a book out ofthewindow IAV 10/2018 TC-T Fabian Bormann
The jupyternotebookoftheHalf-Blood Prince • The notebookcontained a lotofnot sosophisticatedstuff like • LayertypesofNeural Networks • Activationfunctions • Optimizers und Metrics • Placeholders • Variables • The Graph • KerasSequentialorfunctional API (just usethe keras.layers.* in an intuitive way) • Train Safers and Checkpoints • model.save()model = load_model('my_model.h5') IAV 10/2018 TC-T Fabian Bormann
The jupyternotebookoftheHalf-Blood Prince Kerasneeds a backend IAV 10/2018 TC-T Fabian Bormann
The jupyternotebookoftheHalf-Blood Prince IAV 10/2018 TC-T Fabian Bormann
The jupyternotebookoftheHalf-Blood Prince Howtofeeditwithdata? IAV 10/2018 TC-T Fabian Bormann
The jupyternotebookoftheHalf-Blood Prince IAV 10/2018 TC-T Fabian Bormann
The jupyternotebookoftheHalf-Blood Prince “Gets to 99.25% test accuracy after 12 epochs” – keras-team on GitHub IAV 10/2018 TC-T Fabian Bormann
Willy isnowabletobeat MNISTO IAV 10/2018 TC-T Fabian Bormann
Happy End IAV 10/2018 TC-T Fabian Bormann
Anythingmissing like layers, lossesormetrics? IAV 10/2018 TC-T Fabian Bormann
Finally (2 ½ yearsofpainlater) … …notebookoftheHalf-Blood Prince Thatsoundsgood!? IAV 10/2018 TC-T Fabian Bormann
Nowlet‘smakesomemoneywiththenotebookofthe Half-Blood Prince #LiveCoding https://colab.research.google.com/drive/1nNQCNaEptTsvJ497rkkH3AEoUbR623Re IAV 10/2018 TC-T Fabian Bormann
Resources • Designed by iconicbestiary / Freepik • Designed by Freepik • Wikimedia: Images aboutConvNetsandDenseNets • Tensorflow & Keras - Website • pixabay.com • OpenGameArt.org IAV 10/2018 TC-T Fabian Bormann
Fabian Bormann • IAV GmbH • Rockwellstr. 16, 38518 Gifhorn (GERMANY)Phone +49 5371 80 55889 • fabian.bormann@iav.de • www.iav.com • Jens Schulze • IAV GmbH • Rockwellstr. 16, 38518 Gifhorn (GERMANY)Phone +49 5371 80 52815 • jens.schulze@iav.de • www.iav.com IAV 10/2018 TC-T Fabian Bormann