Successfully reported this slideshow.
Your SlideShare is downloading. ×

Standards in Machine Learning Models

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 21 Ad

More Related Content

Similar to Standards in Machine Learning Models (20)

Recently uploaded (20)

Advertisement

Standards in Machine Learning Models

  1. 1. Introduction to reusing models across languages Thierry Janssens 23/10/2018 1
  2. 2. Introduction to reusing models across languages Thierry Janssens Blog: https://www.dataT.be VISIONWORKS part of
  3. 3. Machine Learning Models Different algorithms & programming languages
  4. 4. Models
  5. 5. Training a supervised model software hardware train run
  6. 6. Languages https://fossbytes.com/popular-top- programming-languages-machine-learning- data-science/ (2016)
  7. 7. Frameworks (libraries)
  8. 8. Choices …
  9. 9. Case from Facebook
  10. 10. What about .net? × CNTK, now Microsoft Cognitive toolkit × January 2017 × Linux and Windows 64bit × Python & C# × ONNX support (early 2018) × Focus on NN × Accord.net × API × Dec 2014 × C# × C. R. Souza, http://accord-framework.net . What did Microsoft do?
  11. 11. Enter the standards PMML NNVM ONNX NNEF
  12. 12. PMML × First appearance in 1997 ! × Last update in 2014 – version 4.3 × XML-based × Widely accepted × Over 30 organisations support it × http://dmg.org/pmml/products.html × Producers <-> consumers ! × Similar standard = PFA Predictive Model Markup Language
  13. 13. Sample PMML file
  14. 14. NNEF × December 2017, version 1.0 × The Krhonos Group × Open Specification × Descriptive model and data × Text based and detailed × no native support yet × exporter in C++ on Github Neural Network Exchange Format 10/04/2018
  15. 15. Sample NNEF file
  16. 16. ONNX × December, 2017 version 1.0 × Amazon, Facebook & Microsoft × Many supporters are joining × Descriptive, open format. × ‘binary’ -> protobuf × Python, C# and R Open Neural Network eXchange
  17. 17. NNVM • Amazon and University of Washingthon, first appearance oct 2017 • Non descriptive • A compiler that translates models to a ‘uniform’ underlying intermediate representation (IR code). • For specific hardware (ARM, Nvidia)
  18. 18. A note on Brainscript • Microsoft • Is a declarative language to write models • Part of CNTK • Descriptive, but in a ‘binary’ format • Future not clear…
  19. 19. Conclusion  PMML for all models × broad support in different languages and tools × New version on its way  ONNX & NNEF × only for Neural Networks × need the underlying language to be NNEF or ONNX aware  NNEF × More options in its current form × Backed by a lot of companies, but… × But no native support yet  ONNX × Focusses on ease of use × Working version in Python & R × Active community
  20. 20. × Past year +/- 17.000 – 15/09/2018 Sep 2018
  21. 21. Questions? Thierry Janssens@ordina.be Blog: https://www.dataT.be VISIONWORKS part of

×