1 / 29

A gentle Keras starter

A gentle Keras starter. The fairy tale about a Machine Learning Framework Fabian Bormann, London, October 2018. Once Upon a Time…. Willy the Wizard was a great Python magician with a lot of spells in his jupyter notebook. Once Upon a Time….

aamis
Télécharger la présentation

A gentle Keras starter

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A gentle Keras starter • The fairytaleabout a Machine Learning Framework • Fabian Bormann, London, October 2018 IAV 10/2018 TC-T Fabian Bormann

  2. Once Upon a Time… Willy the Wizard was a great Python magicianwith a lotofspells in hisjupyternotebook IAV 10/2018 TC-T Fabian Bormann

  3. Once Upon a Time… Willy the Wizard was a great Python magicianwith a lotofspells in hisjupyternotebook IAV 10/2018 TC-T Fabian Bormann

  4. Lord Tensor But someday he met a very powerful wizardcalled Lord Tensor IAV 10/2018 TC-T Fabian Bormann

  5. The jupyternotebookof Lord Tensor Lord Tensor showedhimhis large jupyternotebookfor 5 minutes IAV 10/2018 TC-T Fabian Bormann

  6. 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

  7. The Basics wx + b > 0 IAV 10/2018 TC-T Fabian Bormann

  8. The Basics ComvNets MaxPooling Activations IAV 10/2018 TC-T Fabian Bormann

  9. The Basics Stochastic Gradient Descent Adam Adadelta Adagrad RMSProp Learning rates Stepsize IAV 10/2018 TC-T Fabian Bormann

  10. TensorFlow (2016) – isthere a tf. methodforeverynp. method? IAV 10/2018 TC-T Fabian Bormann

  11. 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

  12. When Willy came back homethekingarrivedandneedshishelp IAV 10/2018 TC-T Fabian Bormann

  13. The princesshasbeenabducted#surprise MISSING The kingreceived a messagethathisdaughteris in thehighesttower oftheneighborkingdomcalled „DarkLand“ MISSING IAV 10/2018 TC-T Fabian Bormann

  14. When Willy arrived.. He sawthatthedarkwizzard „MNISTO“ guardsthetower IAV 10/2018 TC-T Fabian Bormann

  15. When Willy arrived.. He sawthatthedarkwizzard „MNISTO“ guardsthetower IAV 10/2018 TC-T Fabian Bormann

  16. Willy walkedaroundthetowerto find anotherentryandsaw…theprincessthrowing a book out ofthewindow IAV 10/2018 TC-T Fabian Bormann

  17. 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

  18. The jupyternotebookoftheHalf-Blood Prince Kerasneeds a backend IAV 10/2018 TC-T Fabian Bormann

  19. The jupyternotebookoftheHalf-Blood Prince IAV 10/2018 TC-T Fabian Bormann

  20. The jupyternotebookoftheHalf-Blood Prince Howtofeeditwithdata? IAV 10/2018 TC-T Fabian Bormann

  21. The jupyternotebookoftheHalf-Blood Prince IAV 10/2018 TC-T Fabian Bormann

  22. The jupyternotebookoftheHalf-Blood Prince “Gets to 99.25% test accuracy after 12 epochs” – keras-team on GitHub IAV 10/2018 TC-T Fabian Bormann

  23. Willy isnowabletobeat MNISTO IAV 10/2018 TC-T Fabian Bormann

  24. Happy End IAV 10/2018 TC-T Fabian Bormann

  25. Anythingmissing like layers, lossesormetrics? IAV 10/2018 TC-T Fabian Bormann

  26. Finally (2 ½ yearsofpainlater) … …notebookoftheHalf-Blood Prince Thatsoundsgood!? IAV 10/2018 TC-T Fabian Bormann

  27. Nowlet‘smakesomemoneywiththenotebookofthe Half-Blood Prince #LiveCoding https://colab.research.google.com/drive/1nNQCNaEptTsvJ497rkkH3AEoUbR623Re IAV 10/2018 TC-T Fabian Bormann

  28. 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

  29. 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

More Related