SlideShare a Scribd company logo
Introduction to
Deep Learning with
Cognitive Toolkit (CNTK)
Marvin Heng
Blog : http://hmheng.pinsland.com
Twitter : @hmheng
YouTube: http://bit.ly/hmheng_yt
SlideShare: http://bit.ly/hmheng_ss
Github: https://github.com/hmheng
HMHENG.
PINSLAND.COM
Microsoft
Cognitive Service
Microsoft
Cognitive ToolKit
Who is Marvin?
Software + Web Developer
AI Enthusiast
Blog : https://hmheng.pinsland.com
Twitter : @hmheng
YouTube: http://bit.ly/hmheng_yt
SlideShare: http://bit.ly/hmheng_ss
Github: https://github.com/hmheng
Scan & Subscribe!
hmheng.pinsland.com
HMHENG.
PINSLAND.COM
HMHENG.
PINSLAND.COM
Started from AI, ML then Deep Learning…
HMHENG.
PINSLAND.COM
What is Deep Learning?
A Subfield of Machine Learning
Self Learning
More complex than Machine Learning
Neural Networks mimics the neural systems in our brains.
HMHENG.
PINSLAND.COM
What is Deep Learning?
HMHENG.
PINSLAND.COM
Credit: Nvidia
What is Microsoft Cognitive ToolKit (CNTK)?
HMHENG.
PINSLAND.COM
HMHENG.
PINSLAND.COM
Behind the Scenes
Microsoft Cognitive Toolkit (CNTK)?
• Open-Source Development on GitHub (released 2.5 on 15th Mar 18)
• Fast
• Optimized for GPUs & Libraries
• Best-in-Class multi-GPU/Multi-server algorithms
• Flexible
• BrainScript, C#/.NET, C++, Python, Network Definition Language, Model Editing Language(MEL)
• Linux, Windows and Docker Container
• Ease of Use & Wide-range of Support
• FF-NN, CNN, RNN, LSTM, DSSM,…
HMHENG.
PINSLAND.COM
Microsoft Cognitive Toolkit (CNTK)
HMHENG.
PINSLAND.COM
Arbitrary Neural
Networks Expression
Composing simple building
blocks into complex
computational networks.
Production
Ready
State-of-the-art accuracy
Efficient
Scalable to Multi-GPU/Multi-
Server
Microsoft Cognitive Toolkit
HMHENG.
PINSLAND.COM
Design
Number of layers,
number of units
Dependent on
concept
complexity
Experimentation
often required
Activation
Function
Enables non-
linear models
Examples include
sigmoid,
hyperbolic
tangent, ReLU,
softmax, …
Loss
Function
Measure the
performance
during training
Examples include
cross entropy
Training
Mechanism for
getting optimal
weights
Overfitting
Stop models from
over-optimizing
on training data
set.
Microsoft Cognitive Toolkit (CNTK)
HMHENG.
PINSLAND.COM
Windows
CPU|GPU
NuGet – CPU | NuGet – GPU | NuGet – UWP CPU
Linux
CPU|GPU|Docker – CPU| Docker – GPU
Requires OpenMPI
MacOS
Docker – CPU
Cloud
Data Science Virtual Machine | Azure Notebooks
Azure Batch AI Training (CPU/GPU) | Project BrainWave (FPGA)
Sharing
Marvin Heng
Blog : http://hmheng.pinsland.com
Twitter : @hmheng
YouTube: http://bit.ly/hmheng_yt
SlideShare: http://bit.ly/hmheng_ss
Github: https://github.com/hmheng
Microsoft
Cognitive Service
HMHENG.
PINSLAND.COM
Microsoft
Cognitive ToolKit
What is Deep Learning
HMHENG.
PINSLAND.COM
Open Neural Network Exchange
HMHENG.
PINSLAND.COM
• An open format to represent deep learning models.
• Collaboration between Microsoft, AWS and Facebook.
• Supported by community of partners like Intel, ARM, AMD, nvidia,
etc.
• A share library with Caffe2, PyTorch, MXNet, Cognitive Toolkit.
• Permissive MIT license and no patents.
ONNX Aims
HMHENG.
PINSLAND.COM
• Allow interoperability between frameworks
• CNTK, Caffe2 and PyTorch
• Allow hardware vendor to focus on one IR in their backend
optimization
• Allow training in one toolkit and deploy in another.
ONNX Aims
HMHENG.
PINSLAND.COM
• Allow interoperability between frameworks
• CNTK, Caffe2 and PyTorch
• Allow hardware vendor to focus on one IR in their backend
optimization
• Allow training in one toolkit and deploy in another.
More…
CTNK.ai
Tutorial, Source Code, Example
@ https://github.com/Microsoft/CNTK
ONNX.ai
HMHENG.
PINSLAND.COM
Marvin Heng
Blog : http://hmheng.pinsland.com
Twitter : @hmheng
YouTube: http://bit.ly/hmheng_yt
SlideShare: http://bit.ly/hmheng_ss
Github: https://github.com/hmheng
Thank
You
HMHENG.
PINSLAND.COM
Introduction to
Deep Learning with
Cognitive Toolkit (CNTK)
Marvin Heng
Blog : http://hmheng.pinsland.com
Twitter : @hmheng
YouTube: http://bit.ly/hmheng_yt
SlideShare: http://bit.ly/hmheng_ss
Github: https://github.com/hmheng
HMHENG.
PINSLAND.COM
Microsoft
Cognitive Service
Microsoft
Cognitive ToolKit

More Related Content

KEY
GitHub for JavaScripters
PDF
JupyterHub - A "Thing Explainer" Overview
PDF
Andras Barthazi on Google Analytics API & Open Source Analytics - WAW
PDF
[html5jロボット部 第7回勉強会] Microsoft Cognitive Toolkit (CNTK) Overview
PPTX
Deep Learning with Microsoft Cognitive Toolkit
PDF
Microsoft Cognitive Toolkit (Atlanta Code Camp 2017)
PDF
[Connect(); // Japan 2016] Microsoft の AI 開発最新アップデート ~ Cognitive Services からA...
PPTX
Cognitive Toolkit - Deep Learning framework from Microsoft
GitHub for JavaScripters
JupyterHub - A "Thing Explainer" Overview
Andras Barthazi on Google Analytics API & Open Source Analytics - WAW
[html5jロボット部 第7回勉強会] Microsoft Cognitive Toolkit (CNTK) Overview
Deep Learning with Microsoft Cognitive Toolkit
Microsoft Cognitive Toolkit (Atlanta Code Camp 2017)
[Connect(); // Japan 2016] Microsoft の AI 開発最新アップデート ~ Cognitive Services からA...
Cognitive Toolkit - Deep Learning framework from Microsoft

Similar to AI/ML/DL: Introduction to Deep Learning with Cognitive ToolKit (20)

PDF
Deep Learning with CNTK
PDF
Artificial Intelligence and Deep Learning in Azure, CNTK and Tensorflow
PDF
運用CNTK 實作深度學習物件辨識 Deep Learning based Object Detection with Microsoft Cogniti...
PPTX
Deep_Learning_Frameworks_CNTK_PyTorch
PPTX
Open Source Deep Learning & Machine Learning with Microsoft CNTK & LightGBM
PDF
Deep Learning with CNTK
PDF
Metta Innovations - Introdução ao Deep Learning aplicado a vídeo analytics
PDF
Deep Learning, Microsoft Cognitive Toolkit (CNTK) and Azure Machine Learning ...
PDF
Introduction to Deep Learning: Concepts, Architectures, and Applications
PDF
Natural Language Processing with CNTK and Apache Spark with Ali Zaidi
PDF
Fascinating Tales of a Strange Tomorrow
PDF
Machine Learning Overview: How did we get here ?
PPTX
Microsoft AI Platform Overview
PDF
"Large-Scale Deep Learning for Building Intelligent Computer Systems," a Keyn...
PPTX
AI @ Microsoft, How we do it and how you can too!
PPTX
Philosophy of Deep Learning
PPTX
Deep Learning Explained
PDF
Deep Learning for New User Interactions (Gestures, Speech and Emotions)
PPTX
Deep Learning on Qubole Data Platform
PDF
How Intercom built ‘Fin’, a GPT-4 powered chatbot_Fergal Reid_UXDX_EMEA_2023
Deep Learning with CNTK
Artificial Intelligence and Deep Learning in Azure, CNTK and Tensorflow
運用CNTK 實作深度學習物件辨識 Deep Learning based Object Detection with Microsoft Cogniti...
Deep_Learning_Frameworks_CNTK_PyTorch
Open Source Deep Learning & Machine Learning with Microsoft CNTK & LightGBM
Deep Learning with CNTK
Metta Innovations - Introdução ao Deep Learning aplicado a vídeo analytics
Deep Learning, Microsoft Cognitive Toolkit (CNTK) and Azure Machine Learning ...
Introduction to Deep Learning: Concepts, Architectures, and Applications
Natural Language Processing with CNTK and Apache Spark with Ali Zaidi
Fascinating Tales of a Strange Tomorrow
Machine Learning Overview: How did we get here ?
Microsoft AI Platform Overview
"Large-Scale Deep Learning for Building Intelligent Computer Systems," a Keyn...
AI @ Microsoft, How we do it and how you can too!
Philosophy of Deep Learning
Deep Learning Explained
Deep Learning for New User Interactions (Gestures, Speech and Emotions)
Deep Learning on Qubole Data Platform
How Intercom built ‘Fin’, a GPT-4 powered chatbot_Fergal Reid_UXDX_EMEA_2023
Ad

More from Marvin Heng (20)

PDF
Accelerating Personal Development through Microsoft Certifications
PDF
Microsoft BotFramework - Global AI Bootcamp Nepal 2022
PDF
Microsoft Cognitive Services at a Glance
PDF
Create real value in your business process by automated data and form extraction
PDF
A Journey with Microsoft Cognitive Service I
PDF
A Journey With Microsoft Cognitive Services II
PDF
AI and App Accessibility
PDF
What's New With Azure AI
PDF
Intelligent Assistant with Microsoft BotFramework
PDF
Using AI to solve business challenges
PDF
Intelligent Mobile App with Azure Custom Vision
PDF
Azure Cognitive Services for Developers
PDF
Bot & AI - A Bot for Productivity
PDF
Artificial Intelligence - Tell You What I See
PDF
Handwriting Detection with Microsoft Cognitive Services
PDF
Create a Q&A Bot to Serve Your Customers
PDF
Facial Analysis with Angular Web App & ASP.NET Core
PDF
AI/ML/DL: Getting Started with Machine Learning on Azure
PDF
AI: Integrate Search Function into Your App Using Bing Search API.
PDF
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
Accelerating Personal Development through Microsoft Certifications
Microsoft BotFramework - Global AI Bootcamp Nepal 2022
Microsoft Cognitive Services at a Glance
Create real value in your business process by automated data and form extraction
A Journey with Microsoft Cognitive Service I
A Journey With Microsoft Cognitive Services II
AI and App Accessibility
What's New With Azure AI
Intelligent Assistant with Microsoft BotFramework
Using AI to solve business challenges
Intelligent Mobile App with Azure Custom Vision
Azure Cognitive Services for Developers
Bot & AI - A Bot for Productivity
Artificial Intelligence - Tell You What I See
Handwriting Detection with Microsoft Cognitive Services
Create a Q&A Bot to Serve Your Customers
Facial Analysis with Angular Web App & ASP.NET Core
AI/ML/DL: Getting Started with Machine Learning on Azure
AI: Integrate Search Function into Your App Using Bing Search API.
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
Ad

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Approach and Philosophy of On baking technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Electronic commerce courselecture one. Pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
KodekX | Application Modernization Development
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Machine learning based COVID-19 study performance prediction
Cloud computing and distributed systems.
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Reach Out and Touch Someone: Haptics and Empathic Computing
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Review of recent advances in non-invasive hemoglobin estimation
Approach and Philosophy of On baking technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
Electronic commerce courselecture one. Pdf
20250228 LYD VKU AI Blended-Learning.pptx
KodekX | Application Modernization Development
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation_ Review paper, used for researhc scholars
Mobile App Security Testing_ A Comprehensive Guide.pdf
Spectral efficient network and resource selection model in 5G networks
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine learning based COVID-19 study performance prediction

AI/ML/DL: Introduction to Deep Learning with Cognitive ToolKit

  • 1. Introduction to Deep Learning with Cognitive Toolkit (CNTK) Marvin Heng Blog : http://hmheng.pinsland.com Twitter : @hmheng YouTube: http://bit.ly/hmheng_yt SlideShare: http://bit.ly/hmheng_ss Github: https://github.com/hmheng HMHENG. PINSLAND.COM Microsoft Cognitive Service Microsoft Cognitive ToolKit
  • 2. Who is Marvin? Software + Web Developer AI Enthusiast Blog : https://hmheng.pinsland.com Twitter : @hmheng YouTube: http://bit.ly/hmheng_yt SlideShare: http://bit.ly/hmheng_ss Github: https://github.com/hmheng Scan & Subscribe! hmheng.pinsland.com HMHENG. PINSLAND.COM
  • 4. Started from AI, ML then Deep Learning… HMHENG. PINSLAND.COM
  • 5. What is Deep Learning? A Subfield of Machine Learning Self Learning More complex than Machine Learning Neural Networks mimics the neural systems in our brains. HMHENG. PINSLAND.COM
  • 6. What is Deep Learning? HMHENG. PINSLAND.COM Credit: Nvidia
  • 7. What is Microsoft Cognitive ToolKit (CNTK)? HMHENG. PINSLAND.COM
  • 9. Microsoft Cognitive Toolkit (CNTK)? • Open-Source Development on GitHub (released 2.5 on 15th Mar 18) • Fast • Optimized for GPUs & Libraries • Best-in-Class multi-GPU/Multi-server algorithms • Flexible • BrainScript, C#/.NET, C++, Python, Network Definition Language, Model Editing Language(MEL) • Linux, Windows and Docker Container • Ease of Use & Wide-range of Support • FF-NN, CNN, RNN, LSTM, DSSM,… HMHENG. PINSLAND.COM
  • 10. Microsoft Cognitive Toolkit (CNTK) HMHENG. PINSLAND.COM Arbitrary Neural Networks Expression Composing simple building blocks into complex computational networks. Production Ready State-of-the-art accuracy Efficient Scalable to Multi-GPU/Multi- Server
  • 11. Microsoft Cognitive Toolkit HMHENG. PINSLAND.COM Design Number of layers, number of units Dependent on concept complexity Experimentation often required Activation Function Enables non- linear models Examples include sigmoid, hyperbolic tangent, ReLU, softmax, … Loss Function Measure the performance during training Examples include cross entropy Training Mechanism for getting optimal weights Overfitting Stop models from over-optimizing on training data set.
  • 12. Microsoft Cognitive Toolkit (CNTK) HMHENG. PINSLAND.COM Windows CPU|GPU NuGet – CPU | NuGet – GPU | NuGet – UWP CPU Linux CPU|GPU|Docker – CPU| Docker – GPU Requires OpenMPI MacOS Docker – CPU Cloud Data Science Virtual Machine | Azure Notebooks Azure Batch AI Training (CPU/GPU) | Project BrainWave (FPGA)
  • 13. Sharing Marvin Heng Blog : http://hmheng.pinsland.com Twitter : @hmheng YouTube: http://bit.ly/hmheng_yt SlideShare: http://bit.ly/hmheng_ss Github: https://github.com/hmheng Microsoft Cognitive Service HMHENG. PINSLAND.COM Microsoft Cognitive ToolKit
  • 14. What is Deep Learning HMHENG. PINSLAND.COM
  • 15. Open Neural Network Exchange HMHENG. PINSLAND.COM • An open format to represent deep learning models. • Collaboration between Microsoft, AWS and Facebook. • Supported by community of partners like Intel, ARM, AMD, nvidia, etc. • A share library with Caffe2, PyTorch, MXNet, Cognitive Toolkit. • Permissive MIT license and no patents.
  • 16. ONNX Aims HMHENG. PINSLAND.COM • Allow interoperability between frameworks • CNTK, Caffe2 and PyTorch • Allow hardware vendor to focus on one IR in their backend optimization • Allow training in one toolkit and deploy in another.
  • 17. ONNX Aims HMHENG. PINSLAND.COM • Allow interoperability between frameworks • CNTK, Caffe2 and PyTorch • Allow hardware vendor to focus on one IR in their backend optimization • Allow training in one toolkit and deploy in another.
  • 18. More… CTNK.ai Tutorial, Source Code, Example @ https://github.com/Microsoft/CNTK ONNX.ai HMHENG. PINSLAND.COM
  • 19. Marvin Heng Blog : http://hmheng.pinsland.com Twitter : @hmheng YouTube: http://bit.ly/hmheng_yt SlideShare: http://bit.ly/hmheng_ss Github: https://github.com/hmheng Thank You HMHENG. PINSLAND.COM
  • 20. Introduction to Deep Learning with Cognitive Toolkit (CNTK) Marvin Heng Blog : http://hmheng.pinsland.com Twitter : @hmheng YouTube: http://bit.ly/hmheng_yt SlideShare: http://bit.ly/hmheng_ss Github: https://github.com/hmheng HMHENG. PINSLAND.COM Microsoft Cognitive Service Microsoft Cognitive ToolKit