Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to...

29
Building AI into your Node.js apps DAVID WASHINGTON DIRECTOR MICROSOFT [email protected]

Transcript of Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to...

Page 1: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)

Building AI into your Node.js appsDAVID [email protected]

Page 2: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 3: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)

Data usually comes from a process that is not completely known.We model this as a random process and analyze it using probability theory.

Example:Tossing a coin is a random process, as we cannot predict at any toss on which side the coin

will land. Heads or tails?We can only talk about the probability of the outcome (observable variable) for the next toss.(In case we would have all the information (e.g. speed of throw, angle, wind, etc.) we might

be able to precisely predict outcome. These variables are unobservable variables.)

P(c|d) = P(c)P(d|c)P(d)

Spam

meeting hello bank click

Naïve Bayes:

Page 4: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)

INTEL MICROSOFT CRM WINDOWS DEVELOPER EXPERIENCE

PENTIUM4INDUSTRIALDEVELOPERFAB12FAB22ARIZONA

V1V1.2V3QUOTESORDERSINVOICES

LONGHORNSOFTWAREDEVELOPER ENGINEERSHELL TEAMDESKTOPOPEN SAVEEXPLORERBRIEFCASESEATTLE

WINDOWS 7PROGRAMMANAGERSHELL TEAMSEARCHFILE APIOPENSAVEADOBEAPPLEFILE COPYPDC2008

WINDOWS 8PROGRAMMANAGERLEADSHELL TEAMUSER EXPREINCEWINDOWS EXPLORERHIGH DPITOUCH KEYBOARDSURFACETOUCH COVERLANGUAGE MODEL

TECHNICAL EVANGELISMDIRECTORCENTRAL USDWCARES.COMGAMEDEVMHACKSTECHCRUNCHDISRUPTHACKTXHACKILLINOISIOTNODE.JSMINNEAPOLIS

SOFTWAREDEVELOPERENGINEERINTERNFULL-TIMESEATTLE

UNIVERSITY OF WISCONSIN

COMPUTER ENGINEERINGGRADUATE 2004

COMMESOFTWAENGINE

Page 5: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)

What is Artificial Intelligence?“The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland 1985)

“The study of mental faculties through the use of computational models” (Charniak et al. 1985)

“The art of creating machines that perform functions that require intelligence when performed by people” (Kurzweil, 1990)

“A field of study that seeks to explain and emulate intelligent behavior in terms of computational processes” (Schalkol, 1990)

“The scientific understanding of the mechanisms underlying thought and intelligent behavior and their embodiment in machines.” (AAAI)

Page 6: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 7: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)

Intelligence APIsVision Computer vision API, Emotion API, Face API, Video API

Speech Custom recognition intelligence service (CRIS), Speaker recognition API, Speech to Text API, Text to Speech API

Language Language understanding intelligence service (LUIS), Linguistic analytics API, Bing spell check API, Text analytics API, Web language model API

Knowledge Academic knowledge API, Entity linking intelligence service, Knowledge exploration service, Recommendations API

Search Bing web search API, Bing image search API, Bing news search API, Bing video search API, Bing autosuggest API

Page 8: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)

Vision

Page 9: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 10: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 11: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 12: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 13: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)

Speech

Page 14: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)

Language

Page 15: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 16: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 17: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 18: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 19: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 20: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 21: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 22: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 23: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 24: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 25: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 26: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 27: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)
Page 28: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)

Thank you.

DAVID [email protected]@DWCARES @ORIGINALCHATBOT

Page 29: Building AI into your Node.js appsWhat is Artificial Intelligence? “The exciting new effort to make computers thinks … machine with minds, in the full and literal sense” (Haugeland1985)

Resourcesmicrosoft.com/cognitive-services

microsoft.com/en-us/seeing-ai

luis.ai

dev.botframework.com

github.com/dwcares/chatrobot

docs.microsoft.com/nodejs

particle.io

DAVID [email protected]@DWCARES @ORIGINALCHATBOT