COGNITIVE SERVICES MACHINE LEARNING FOR DEVELOPERS

Slides:



Advertisements
Similar presentations
Machine Learning as a Service
Advertisements

AZURE MACHINE LEARNING Bringing New Value To Old Data SQL Saturday #
9/24/2017 7:27 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Introducing Precictive Analytics
An introduction to Amazon AI
It’s Time for Cognitive Computing
Machine Learning Best Practices with Alfresco & Activiti
Bhakthi Liyanage SQL Saturday Atlanta 15 July 2017
Teck Chia Partner, Exponent.vc
Microsoft Ignite /4/2018 1:44 PM BRK3105
2/13/2018 4:38 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/19/ :02 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
IBM Predictive Analytics Virtual Users’ Group Meeting March 30, 2016
TensorFlow CS 5665 F16 practicum Karun Joseph, A Reference:
4/18/2018 3:49 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/23/2018 7:04 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
BI09 – Cortana Analytics and Power BI
Let’s talk about Conversation Design
Connected Maintenance Solution
Machine Learning overview Chapter 18, 21
Machine Learning overview Chapter 18, 21
Working With Azure Batch AI
Siemens Enables Digitalization: Data Analytics & Artificial Intelligence Dr. Mike Roshchin, CT RDA BAM.
Napredno prepoznavanje ljudi koristeći Microsoft Azure Cognitive Services SLAVEN MIŠAK, Span d.o.o. IVAN MARKOVIĆ, Span d.o.o.
Cloud Systems of Intelligence design patterns Making it real for Product Engineering Session: BRK3321 Larry Persaud – Principal Lead : AI+R Abhinav.
Open Source Toolkit for Turn-Key AI Cluster (Introduction)
AI development using Data Science Virtual Machines (DSVM) in Azure
Machine Learning and Office 365 Collaboration
Intelligent Agent Solution
Let’s talk about Conversation Design
Connected Maintenance Solution
7/6/2018 1:42 PM BRK2391 Making Microsoft AI work for your business with Bing Custom Search and Bing Search API v7 Brian King Group Program Manager Bing.
Bot Framework Patterns & Practices from our Customers
Introduction to Azure Bot Framework
Build smarter bots and devices by connecting to the Microsoft Graph
Building & Applying Emotion Recognition
Changing how people interact with computers
Qualitative Text Analysis
Add intelligence to Dynamics AX with Cortana Intelligence suite
Python Classes in Pune |
Leverage the Intelligent Cloud
AV Autonomous Vehicles.
Azure Machine Learning 101
Microsoft SharePoint Server 2013
What is Pattern Recognition?
This meme comes from South Park (S2E )
Implementing AI solutions using the cognitive services in Azure
Open Source Toolkit for Turn-Key AI Cluster (Introduction)
José Mendes Chatbots for Dummies.
Course Instructor: knza ch
Luke Do, Jessica Olmedo, Arely Romero, and Vianca Santana
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Near Real Time ETLs with Azure Serverless Architecture
Introduction to Deep Learning with Keras
Alain Goossens & Jean-Pierre Van Loo Data scientists – SII Belgium
Using the Microsoft AI Platform for next generation applications
Why IBM Watson.
Technical Capabilities
LearnAI - Machine Learning on Azure
Data Lifecycle Challenges in Production Machine Learning: A Survey
Artificial intelligence for everyone
Lecture 21: Machine Learning Overview AP Computer Science Principles
Introduction to Artificial Intelligence
Machine Learning overview Chapter 18, 21
Bots, so you don't have to be always available to help your customers
Exploring Cognitive Services
Microsoft Azure The cloud platform for digital transformation
A touch of AI with Cognitive Services
Lecture 9: Machine Learning Overview AP Computer Science Principles
AI Builder for Power Platform
Presentation transcript:

COGNITIVE SERVICES MACHINE LEARNING FOR DEVELOPERS Chris Noring @chris_noring

Machine Learning Machine Learning finds patterns in data and uses those patterns to predict the future @chris_noring

What can we use it for? @chris_noring What Football team is going to win the league? Detecting credit card fraud Determining whether a customer is likely to switch to a competitor Determine when to do preventive maintenance on a robot What can we use it for? @chris_noring

Why is ML popular? @chris_noring Takes lots of data, the more data, the better our predictions Takes lots of compute power We have effective machine learning algorithms Do you know what takes a lot of computing power? Why is ML popular? @chris_noring

Who Benefits? Business leaders, wants solutions to problems Software developers, wants to create better applications Data Scientists, wants powerful, easy-to-use tools Who Benefits? @chris_noring

Machine Learning – NN and Math 𝑊 𝑇 𝑥+𝑏 𝑄 𝑤 = 1 𝑛 𝑖=1 𝑛 𝑄 𝑖 (𝑤) 𝜎 𝑧 = 1 1+ 𝑒 −𝑧 𝑓 𝑖 ( 𝑥 ) = 𝑒 𝑥 𝑖 𝑗=1 𝐽 𝑒 𝑥 𝑗 @chris_noring

Programming Algorithm Answers Data @chris_noring

Machine Learning Answers Algorithm Data @chris_noring

Machine Learning Answers Model Data @chris_noring

Machine Learning Answers Data Model Predictions Data @chris_noring

Artificial Intelligence Use an existing model Customize a pre-trained model Train a new model from scratch Easy Medium Hard A pre existing Service like a box around someones face It can recognize face But we need specific faces Lot’s of time and effort needed @chris_noring

CODING & MANAGEMENT TOOLS DEEP LEARNING FRAMEWORKS Microsoft AI Platform Azure AI Services Tools VS Tools for AI Azure ML Studio CODING & MANAGEMENT TOOLS Azure ML Workbench DEEP LEARNING FRAMEWORKS Cognitive Toolkit TensorFlow Caffe Others (Scikit-learn, MXNet, Keras, Chainer, Gluon…) 3rd Party Others (PyCharm, Jupyter Notebooks…) Cognitive Services CUSTOM AI Azure Machine Learning PRE-BUILT AI CONVERSATIONAL AI Bot Service Azure Infrastructure AI ON DATA Cosmos DB AI COMPUTE SQL DB DW Data Lake Spark ADB DSVM Batch AI ACS CPU, FPGA, GPU IoT Edge @chris_noring

CODING & MANAGEMENT TOOLS DEEP LEARNING FRAMEWORKS Microsoft AI Platform Azure AI Services Tools VS Tools for AI Azure ML Studio CODING & MANAGEMENT TOOLS Azure ML Workbench DEEP LEARNING FRAMEWORKS Cognitive Toolkit TensorFlow Caffe Others (Scikit-learn, MXNet, Keras, Chainer, Gluon…) 3rd Party Others (PyCharm, Jupyter Notebooks…) Cognitive Services CUSTOM AI Azure Machine Learning PRE-BUILT AI CONVERSATIONAL AI Bot Service Azure Infrastructure AI ON DATA Cosmos DB AI COMPUTE SQL DB DW Data Lake Spark ADB DSVM Batch AI ACS CPU, FPGA, GPU IoT Edge @chris_noring

Azure Cognitive Services A set of simple APIs that harness Machine Learning so you can add AI (without needing a deep understanding of AI) Easy Medium Hard @chris_noring

Azure Cognitive Services Vision Speech Language Knowledge Search Image Tagging, Thumbnails OCR, Handwriting recognition Speech to text (Speech Transcription) Contextual language understanding – customized intent analysis Customized decision making with reinforcement learning Visual Search with object detection Customized speech Transcription (complex word, noisy environment) Comprehensive news, image, and video results Q&A service and bot training with personality Sentiment analysis, key phrase detection Customized image recognition Custom Search Face detection Text to speech text translation up to 60+ languages Tailored and customized search experiences Emotion recognition Speaker ID and authentication Text Moderation Video insights - people detection, visual search, keyframe detection, object recognition Automatic search suggestions Real-time speech translation Spell checking Entity information augmentation Image and video moderation @chris_noring

How to use? Header Ocp-Apim-Subscription-Key Base URL https://westeurope.api.cognitive.microsoft.com Specific API URL text/analytics/v2.1/languages @chris_noring

Sending/receiving { "documents": [{ let documents = { "id": "1", "detectedLanguages": [{ "name": "English", "iso6391Name": "en", "score": 1 }] }, "id": "2", "name": "Spanish", "iso6391Name": "es", }], "errors": [] } let documents = { 'documents': [{ 'id': '1’, 'text': 'This is a document written in English.’ }, { 'id': '2', 'text': 'Este es un document escrito en Español.’ } ] }; module.exports = documents; @chris_noring

Let’s focus on Language APIs Language detection Sentiment analysis (bad or good) Key phrase detection Translation and more… Let’s focus on Language APIs @chris_noring

DEMO text, keyphrase, sentiment @chris_noring

GOOD: I really enjoy the new XBox One S GOOD: I really enjoy the new XBox One S. It has a clean look, it has 4K/HDR resolution and it is affordable. BAD: Este ha sido un dia terrible, llegué tarde al trabajo debido a un accidente automobilistico. Sentiment analysis This is about determining whether something is good or bad @chris_noring

Let’s focus on Vision APIs Thumbnails OCR with handwriting Customized image recognition Face detection Emotion recognition Let’s focus on Vision APIs @chris_noring

Sometimes the Cognitive service is not good enough

When you need a better Model Sometimes the services are not enough The Model is not specific enough Then you can train the Model yourself When you need a better Model @chris_noring

Azure Custom Cognitive Services Vision Speech Language Knowledge Search Image Tagging, Thumbnails OCR, Handwriting recognition Speech to text (Speech Transcription) Contextual language understanding – customized intent analysis Customized decision making with reinforcement learning Visual Search with object detection Customized speech Transcription (complex word, noisy environment) Comprehensive news, image, and video results Q&A service and bot training with personality Sentiment analysis, key phrase detection Customized image recognition Custom Search Face detection Text to speech text translation up to 60+ languages Tailored and customized search experiences Emotion recognition Speaker ID and authentication Text Moderation Video insights - people detection, visual search, keyframe detection, object recognition Automatic search suggestions Real-time speech translation Spell checking Entity information augmentation @chris_noring Image and video moderation

Custom Vision API When the vision API model isn’t good enough When you want to detect a specific person When you want to identify a specific tool over “tools” https://www.customvision.ai/ Add tags Train with images Choose iteration and use API @chris_noring

Train an existing model Call Call API Train Train = produce iteration Upload Upload an image and assign a tag Create Create all the tags you need Select Select a model in the right domain

Press train Produces an iteration Each image was assigned a score that says how certain it is that the image is a certain tag

Precision, if a tag is predicted by your model, how likely is it to be correct Recall, out of the tags which Should be predicted, what percentage did your model correctly find

Quick test – see how our model performs

Test out our model with an API call Image URL The image itself

DEMO Custom Vision, upload file @chris_noring

Summary @chris_noring Cognitive Services is ML for Developers There are tons of REST APIs, you just need a key Send JSON and get JSON Major areas: Vision, Speech, Language, Knowledge, Search You can make models better by training them with images in customvision.ai, any service marked as custom, can be trained @chris_noring

Thank you aka.ms/azure-signup-cogservices customvision.ai aka.ms/azure-textapis aka.ms/azure-cogservices-overview Thank you @chris_noring