Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Machine Learning for the noobs

Machine Learning for the noobs

A very quick guide to ML, where you can use your models afterwards in native iOS apps using CoreML


manu rink

March 21, 2018

More Decks by manu rink

Other Decks in Programming


  1. Machine Learning Manuela Rink, Software Engineer, Microsoft for the noob!

  2. None
  3. What… “Recognize handwritten text numbers in an native iOS app

    … offline!” … could possibly be so hard?
  4. What do I know about ML?

  5. Python Machine Learning basic knowledge again Python convert data for

    model usage some other things – dunno yet? use CoreML to predict correct results I’ll just need a bit of…
  6. Quick tip from a colleague who is totally into ML:

    “Just use an SVM with the MNIST digits database to get the model. And don’t forget to tweak it with a decent grid search!”
  7. None
  8. Where do I even get started?

  9. Step 1 “Embrace being the noob – and just run

    the code”
  10. Step 2 “Create and train your model - then convert

    to CoreML”
  11. Step 3 “Understand what you’ve just created”

  12. Step 4 “Get your input in shape, RLY!”

  13. Prep’ing your data for predictions

  14. Step 5 “Make your prediction – ALL THE RESULTS!”

  15. None
  16. It’s dangerous to go alone… https://github.com/codePrincess/doodlingRecognition +

  17. http://scikit- learn.org/stable/auto_examples/classification/plot_digits_classification.html#sphx-glr-auto- examples-classification-plot-digits-classification-py http://yann.lecun.com/exdb/mnist/ https://developer.apple.com/documentation/coreml/converting_trained_models_to_core_ml ?language=objc https://www.gitbook.com/book/leonardoaraujosantos/artificial-inteligence/details https://docs.microsoft.com/en-us/azure/machine-learning/studio/algorithm-cheat-sheet … and

  18. Merci :) Manu Rink Software Engineer marink@microsoft.com @codeprincess says

  19. [1] Scientific Droid - https://techfinancials.co.za/2017/08/08/future-artificial-intelligence/ [2] Chappie - http://www.newsweek.com/artificial-intelligence-scientists-racist-sexist-robots-ai-693440 [3]

    Machine thinking - https://www.sciencenews.org/article/machines-think-predicts-future-artificial-intelligence [4] Headless Human - http://www.ttec.com/sites/default/files/styles/article_main/public/perspectives1.jpg?itok=o4K9k0zs [5] Learning robot - http://robohub.org/wp-content/uploads/2017/01/machine-learning.jpg [6] ML Workbench - https://images.anandtech.com/doci/12508/azure-machine-learning-studio-predictive-score-experiment.png [7] Zelda Sword - http://piq.codeus.net/picture/143569/wooden_sword_the_legend_of_zelda_nes_ [8] Embrance - https://memegenerator.net/instance/51017062/oso-hormiguero-thug-embrace-the-change [9] HeMan - https://www.storegrowers.com/google-analytics-for-ecommerce/ [10] Results - http://www.providentmediagroup.com/blog/testimonials-study-results-and-gift-card-winner/