20160813 102-59-kim youngwook

49
Python으로 IoT(Internet of Things), Cognitive, Machine Learning 3셋트 활용하기 김영욱 Evangelist Microsoft / DX / 부장 [email protected]

Transcript of 20160813 102-59-kim youngwook

Page 1: 20160813 102-59-kim youngwook

Python으로IoT(Internet of Things), Cognitive, Machine Learning 3종 셋트 활용하기

김영욱 EvangelistMicrosoft / DX / 부장[email protected]

Page 2: 20160813 102-59-kim youngwook
Page 3: 20160813 102-59-kim youngwook
Page 4: 20160813 102-59-kim youngwook

War of IT

Page 5: 20160813 102-59-kim youngwook

https://github.com/KoreaEva/Python.git

Page 6: 20160813 102-59-kim youngwook
Page 7: 20160813 102-59-kim youngwook

Microsoft  LOVE  ♥

Page 8: 20160813 102-59-kim youngwook
Page 9: 20160813 102-59-kim youngwook

Microsoft ♥ Open Source

Page 10: 20160813 102-59-kim youngwook

PTVS(Python  Tools  for  Visual  Studio)

NTVS(Node.js  Tools  for  Visual  Studio)RTVS(R  Tools  for  Visual  Studio)

PHP  Tools  for  Visual  StudioVisual  C++  for  Linux

Page 11: 20160813 102-59-kim youngwook

Microsoft is Open Source

Page 12: 20160813 102-59-kim youngwook
Page 13: 20160813 102-59-kim youngwook
Page 14: 20160813 102-59-kim youngwook

Microsoft ♥ Python

Page 15: 20160813 102-59-kim youngwook

Sensors on

Linux (Rasberian)

SQL Database Machine Learning

Power BIStream AnalyticsIoT Hubs

Blob / Table

Cognitive Services

Microsoft Cognitive Services

IoT Service

Machine Learning

Page 16: 20160813 102-59-kim youngwook

Visual Studio Code

Page 17: 20160813 102-59-kim youngwook

http://visualstudio.com

Page 18: 20160813 102-59-kim youngwook

Cognitive Servicehttp://www.Microsoft.com/cognitive

Page 19: 20160813 102-59-kim youngwook

Microsoft Cognitive Services Give your apps a human side

VisionFrom faces to feelings, allow your apps to understand images and video

SpeechHear and speak to your users by filtering noise, identifying speakers, and understanding intent

LanguageProcess text and learn how to recognize what users want

KnowledgeTap into rich knowledge amassed from the web, academia, or your own data

SearchAccess billions of web pages, images, videos, and news with the power of Bing APIs

Cognitive Services

Page 20: 20160813 102-59-kim youngwook

Apps Powered by MS Cognitive Services

ProjectMurphy.netCaptionBot.ai

I think it’s a person sitting in front of a computer and he seems ☺. I am 99% sure that’s Bill Gates

Celebslike.me

Page 21: 20160813 102-59-kim youngwook

Roll your own with REST APIs Simple to add: just a few lines of code required

Make the same API code call on iOS, Android, and Windows Integrate into the language and platform of your choice

Built by experts in their field from Microsoft Research, Bing, and Azure Machine Learning Quality documentation, sample code, and community support

Easy Flexible Tested

GET A KEY

BUILD

Why Microsoft Cognitive Services ?

Page 22: 20160813 102-59-kim youngwook

Cognitive Services

Emotion Speaker Recognition

Speech

Custom RecognitionComputer Vision

Face

Video

microsoft.com/cognitive

SearchSpeech Language KnowledgeVision

Linguistic Analysis

Language Understanding

Bing Spell Check

Entity Linking

Knowledge Exploration

Academic Knowledge

Bing Image Search

Bing Video Search

Bing Web Search

WebLM

Text Analytics Recommendations

Bing Autosuggest

Bing News SearchTranslator

Page 23: 20160813 102-59-kim youngwook

Cognitive Services

Emotion Speaker Recognition

Speech

Custom RecognitionComputer Vision

Face

Video

SearchSpeech Language KnowledgeVision

Linguistic Analysis

Language Understanding

Bing Spell Check

Entity Linking

Knowledge Exploration

Academic Knowledge

Bing Image Search

Bing Video Search

Bing Web Search

WebLM

Text Analytics Recommendations

Bing Autosuggest

Bing News SearchTranslator

microsoft.com/cognitive

Page 24: 20160813 102-59-kim youngwook

{Subscription Key}

Page 25: 20160813 102-59-kim youngwook

JSON• http://www.json.org/json-ko.html

Page 26: 20160813 102-59-kim youngwook

Vision APIComputer VisionEmotionFace

Page 27: 20160813 102-59-kim youngwook
Page 28: 20160813 102-59-kim youngwook

Demo

Page 29: 20160813 102-59-kim youngwook

LanguageBing Spell checkLanguage UnderstandingLinguistic AnalysisText Analytics WebLM

Page 30: 20160813 102-59-kim youngwook
Page 31: 20160813 102-59-kim youngwook

Demo

Page 32: 20160813 102-59-kim youngwook

BingBing Web SearchBing Image SearchBing Video SearchBing News SearchBing Autosuggest

Page 33: 20160813 102-59-kim youngwook

Bing beyond search in bing.comSmarter, more

engaging experiences

Trusted by industry-leading experiences

Page 34: 20160813 102-59-kim youngwook

Introducing Bing Search API v5

Web Search

Image Search

Video Search

News Search

Autosuggest

Spell Check

Search API v5

REST

Enhanced Search and Filtering Capabilities

Ongoing Improvements and Support

Web- Scale

High Performance

Secure (HTTPs)

Page 35: 20160813 102-59-kim youngwook

Web Search APIWeb Search API

*screenshots show actual search results on bing.com

https://bingapis.azure-api.net/v5/search?q=nasa

Get relevant web and answer results and metadata with one API call

{ “_type”: “SearchResponse”, “queryContent”: {…}, “webPages”: {…}, “news”: {…}, “images”: {…}, “videos”: {…}, “relatedSearches”: {…}, “rankingResponse”: {…} }

{ “answerType”:”WebPages”, “resultIndex”:0,… }, { “answerType”:”News”, “resultIndex”:1,… }

Ranking Response

Search Response

Web Results

Deep Links

(1st Algo)

News Results

Image Results

Video Results

Related Searches

Page 36: 20160813 102-59-kim youngwook

Vertical Search APIshttps://bingapis.azure-api.net/v5/images/search?q=shuttle+launch

• Enhanced metadata and filters (size, license, style, freshness, color) • Image insights (entity recognition, visually similar)

Image Search API

source: nasa.gov

https://bingapis.azure-api.net/v5/videos/search?q=viral+videos

• Enhanced metadata and filters (price, resolution, length, freshness)

• Motion thumbnails (video preview)

https://bingapis.azure-api.net/v5/news/search?q=cuba

• News by category/market, and trending news • Rich article metadata (featured entities)

source: youtube.com

Video Search API

*screenshots show actual search results in bing.com

Get more results, features and metadata tailored to each search vertical

News Search API

source: cnn.com

Page 37: 20160813 102-59-kim youngwook

Demo

Page 38: 20160813 102-59-kim youngwook

• Sign up and get started today for free at

www.microsoft.com/cognitive

Developer Call to Action

Page 39: 20160813 102-59-kim youngwook

Internet of Thingshttp://www.microsoft.com/iot

Page 40: 20160813 102-59-kim youngwook

Sensors on

Linux (Rasberian)

SQL Database Machine Learning

Power BIStream AnalyticsIoT Hubs

Blob / Table

Cognitive Services

Microsoft Cognitive Services

IoT Service

Machine Learning

Page 41: 20160813 102-59-kim youngwook

• 지원되는 프로토콜은 HTTP1.1, MQTT, AMQP 1.0 (16년 4월 OPC 공식지원 발표)• LWM2M, CoAP 등의 지원은 계획 중이나 시기 미정

IoT Hub

Page 42: 20160813 102-59-kim youngwook

Stream Analysis

Page 43: 20160813 102-59-kim youngwook

Sensors on

Linux (Rasberian)

SQL Database Machine Learning

Power BIStream AnalyticsIoT Hubs

Blob / Table

Cognitive Services

Microsoft Cognitive Services

IoT Service

Machine Learning

Page 44: 20160813 102-59-kim youngwook

Machine Learninghttp://www.microsoft.com/iot

Page 45: 20160813 102-59-kim youngwook
Page 46: 20160813 102-59-kim youngwook

Microsoft & Machine Learning15 years of realizing innovation

SQL Server enables

data mining

Computers work on

users behalf, filtering junk

email

Microsoft Kinect can

watch users gestures

Microsoft launches

Azure Machine Learning

Microsoft search engine

built with machine learning

Bing Maps ships with ML

traffic-prediction service

Successful, real-time, speech-to-

speech translation

John Platt, Distinguished scientist at Microsoft Research

1999 201220082004 201420102005

Machine learning is pervasive throughout Microsoft products.“ ”

Page 47: 20160813 102-59-kim youngwook

One solution for Machine Learning - from data to results

Azure Portal

Azure Ops Team

ML Studio

Data Scientist

HDInsight

Azure Storage

Desktop Data

Azure Portal & ML API service

Azure Ops Team

PowerBI/Dashboards

Mobile AppsWeb Apps

ML API service Developer

Page 48: 20160813 102-59-kim youngwook

Machine Learning

Data I/O

Taking Data & preparing for AnalysisDimensionality reduction. E.g. Kinect measures 1000 points, 6 are relevantFitting Model selection; calibration; assessment

R – free scripts/graphics, many packages based on Vector Data.

Metrics to allow us to describe the data. E.g. Mean, Correlation…

Tools used for Text Input. E.g. ‘What is the theme of this essay?’

Page 49: 20160813 102-59-kim youngwook