59
HOW TO TRAIN YOUR COMPUTER A.I. - ‘Bots, Intelligent Assistants and Deep Learning Contact Info: Peter Walker http://WalkerTechArts.com walkertecharts petermwalker peterwalkertexas [email protected] Thursday, August 18, 16

How To Train Your Computer - Peter Walker

Embed Size (px)

Citation preview

Page 2: How To Train Your Computer - Peter Walker

HYPE CYCLErepresents the maturity, adoption and social application of specific technologies.

https://en.m.wikipedia.org/wiki/Hype_cycleThursday, August 18, 16

Page 3: How To Train Your Computer - Peter Walker

HYPE CYCLErepresents the maturity, adoption and social application of specific technologies.

https://en.m.wikipedia.org/wiki/Hype_cycleThursday, August 18, 16

Page 4: How To Train Your Computer - Peter Walker

Early publicity produces a number of success stories, often accompanied by scores of failures. Some companies take action; most don't.

PEAK OF INFLATED EXPECTATIONS

SLOPE OF ENLIGHTENMENTMore instances of how the technology can benefit the enterprise start tocrystallize and become more widely understood. Second and third generation products appear from technology providers. More enterprises fund pilots; conservative companies remain cautious.

Thursday, August 18, 16

Page 5: How To Train Your Computer - Peter Walker

GARTNER HYPE CYCLE FOR EMERGING TECHrepresents the maturity, adoption and social application of specific technologies.

http://www.zdnet.com/article/artificial-intelligence-in-business-the-state-of-play-and-future-prospects/Thursday, August 18, 16

Page 6: How To Train Your Computer - Peter Walker

• Autonomous Vehicles• Bioacoustic Sensing• Biochips• Brain-Computer Interface• Digital Dexterity• Human Augmentation• Machine Learning• Neurobusiness

RELEVANT EMERGING TECHNOLOGIES• People-Literate Technology• Quantum Computing• Smart Advisors• Smart Dust• Smart Robots• Virtual Personal Assistants• Virtual Reality• Volumetric and Holographic Displays

http://www.zdnet.com/article/artificial-intelligence-in-business-the-state-of-play-and-future-prospects/Thursday, August 18, 16

Page 7: How To Train Your Computer - Peter Walker

Thursday, August 18, 16

Page 8: How To Train Your Computer - Peter Walker

WHY IS A.I. TAKING OFF?

Thursday, August 18, 16

Page 9: How To Train Your Computer - Peter Walker

Nvidia's Jetson TK1 is a Tegra K1-based board designed for developing and deploying compute-intensive systems for computer vision, robotics, medicine and other AI/automation applications. Image: Nvidia

http://www.zdnet.com/article/artificial-intelligence-in-business-the-state-of-play-and-future-prospects/Thursday, August 18, 16

Page 10: How To Train Your Computer - Peter Walker

IBM's 4,096-core SyNAPSE neurosynaptic chip (top) is designed for low power consumption: the lower image shows the cool SyNAPSE processor next to hot FPGA chips that are feeding it with data. Image: IBM

http://www.zdnet.com/article/artificial-intelligence-in-business-the-state-of-play-and-future-prospects/Thursday, August 18, 16

Page 11: How To Train Your Computer - Peter Walker

New CPU fabrication processes will be required to take computing beyond the 'classic' Moore's Law era.

http://www.zdnet.com/article/artificial-intelligence-in-business-the-state-of-play-and-future-prospects/Thursday, August 18, 16

Page 12: How To Train Your Computer - Peter Walker

Machine Intelligence LANDSCAPEImage: Shivon Zilis/Bloomberg Beta

http://www.zdnet.com/article/artificial-intelligence-in-business-the-state-of-play-and-future-prospects/Thursday, August 18, 16

Page 13: How To Train Your Computer - Peter Walker

Automates basic tasks so that they can be done more quickly and cheaply.

Ex. Medical IoT - wearables

ASSISTED INTELLIGENCE

https://www.technologyreview.com/s/601732/ai-drives-better-business-decisions/Thursday, August 18, 16

Page 14: How To Train Your Computer - Peter Walker

Helps people make more effective decisions based on their circumstances.

Ex. A bank loan officer accessing credit risk

AUGMENTED INTELLIGENCE

https://www.technologyreview.com/s/601732/ai-drives-better-business-decisions/Thursday, August 18, 16

Page 15: How To Train Your Computer - Peter Walker

The human is no longer in the loop, hands over control to the machine.

Ex. Driverless car

AUTONOMOUS INTELLIGENCE

https://www.technologyreview.com/s/601732/ai-drives-better-business-decisions/Thursday, August 18, 16

Page 16: How To Train Your Computer - Peter Walker

DEEP LEARNING

Thursday, August 18, 16

Page 17: How To Train Your Computer - Peter Walker

Alpha Go beats the world’s best Go players in 2015.https://medium.com/@atduskgreg/power-to-the-people-how-one-unknown-group-of-researchers-holds-

the-key-to-using-ai-to-solve-real-cc9e75b1f334?imm_mid=0e5a70&cmp=em-design-na-na-Thursday, August 18, 16

Page 18: How To Train Your Computer - Peter Walker

IBM Watson on Jeopardyhttps://medium.com/@atduskgreg/power-to-the-people-how-one-unknown-group-of-researchers-holds-

the-key-to-using-ai-to-solve-real-cc9e75b1f334?imm_mid=0e5a70&cmp=em-design-na-na-Thursday, August 18, 16

Page 19: How To Train Your Computer - Peter Walker

“I thought, if only we had a blackboard where I could erase a number and write a new number in, and everything would recalculate.” — Dan Bricklin, bored Harvard Business School Studenthttps://medium.com/@atduskgreg/power-to-the-people-how-one-unknown-group-of-researchers-holds-

the-key-to-using-ai-to-solve-real-cc9e75b1f334?imm_mid=0e5a70&cmp=em-design-na-na-Thursday, August 18, 16

Page 20: How To Train Your Computer - Peter Walker

Humans don’t like being told what to do by a robot. They enjoy interactions much more, and are willing to spend more time training the robot if they are in charge of the interaction. No “Oracle”. Ex. - M.D. diagnosis

https://medium.com/@atduskgreg/power-to-the-people-how-one-unknown-group-of-researchers-holds-the-key-to-using-ai-to-solve-real-cc9e75b1f334?imm_mid=0e5a70&cmp=em-design-na-na-

Thursday, August 18, 16

Page 21: How To Train Your Computer - Peter Walker

NEXT BRAND FRONTIER

Thursday, August 18, 16

Page 22: How To Train Your Computer - Peter Walker

The tech industry has experienced several paradigm shifts in the way people interact with computers and the Internet.

• Wave 1 (mid-90s): The gold rush for Web sites, when companies rose to help build sites.• Wave 2 (mid-2000s): Mobile apps were the next big trend and businesses popped up to develop them.• Wave 3 (now): Chat solutions - there will be an emergence in businesses with solutions, affecting customer service, call centers, and later down the line, all customer touchpoints with brands.

The Third Wave in High-Tech Communications

http://www.mediapost.com/publications/article/273371/the-next-brand-frontier-ai-chat-and-mobile-app.htmlThursday, August 18, 16

Page 23: How To Train Your Computer - Peter Walker

• Facebook Messenger• Snapchat• WhatsApp• Kik• WeChat• Viber

MESSAGING APP INTEGRATIONS

http://www.mediapost.com/publications/article/273371/the-next-brand-frontier-ai-chat-and-mobile-

Services being merged together within messaging apps as APIs talk to each other. Ex. Snapcash - SquareUber - Messenger

Thursday, August 18, 16

Page 24: How To Train Your Computer - Peter Walker

Chatbots - programs that respond to natural language text and fulfill commands, powered by artificial intelligence.

• WeChat - used by companies as their primary channel to advertise and communicate with customers.• People can take actions like texting-in questions instead of having to scour websites for information or products.• Chatbots will soon allow brands to scale one-to-one conversations with consumers and deliver rich, personalized experiences spanning e-commerce to customer service.

CHATBOTS

https://medium.com/@atduskgreg/power-to-the-people-how-one-unknown-group-of-researchers-holds-the-key-to-using-ai-to-solve-real-cc9e75b1f334?imm_mid=0e5a70&cmp=em-design-na-na-

Thursday, August 18, 16

Page 25: How To Train Your Computer - Peter Walker

OTHER ARTIFICIAL INTELLIGENCE USES IN MARKETING

Thursday, August 18, 16

Page 26: How To Train Your Computer - Peter Walker

Ex. Under Armour - IBM Watson

Combines user data with 3rd party data and research.

RECOMMENDATIONS/ CONTENT CURATION

https://econsultancy.com/blog/67745-15-examples-of-artificial-intelligence-in-marketing/Thursday, August 18, 16

Page 27: How To Train Your Computer - Peter Walker

Ex. Google with RankBrain

Interpreting search queries.

SEARCH ENGINES

https://econsultancy.com/blog/67745-15-examples-of-artificial-intelligence-in-marketing/Thursday, August 18, 16

Page 28: How To Train Your Computer - Peter Walker

Ex. Banks & Retailers (Neiman Marcus) who have had breaches on usernames and passwords as protection. Finds anomalies in behavior.

PREVENTING FRAUD AND DATA BREACHES

https://econsultancy.com/blog/67745-15-examples-of-artificial-intelligence-in-marketing/Thursday, August 18, 16

Page 29: How To Train Your Computer - Peter Walker

Facebook AI Research - Deep Learning (recognizing patterns)

SOCIAL SEMANTICS

https://econsultancy.com/blog/67745-15-examples-of-artificial-intelligence-in-marketing/Thursday, August 18, 16

Page 30: How To Train Your Computer - Peter Walker

Intelligent image recognition and cropping, algorithmic pallette and typography selection - The Grid is using AI in certain areas to effectively automate web design.

WEBSITE DESIGN

https://econsultancy.com/blog/67745-15-examples-of-artificial-intelligence-in-marketing/Thursday, August 18, 16

Page 31: How To Train Your Computer - Peter Walker

Ex. USAA with Safron/ IntelAnalyzing thousands of factors allows the matching of broad patterns of customer behavior to those of individual members.

PREDICTIVE CUSTOMER SERVICE

https://econsultancy.com/blog/67745-15-examples-of-artificial-intelligence-in-marketing/Thursday, August 18, 16

Page 32: How To Train Your Computer - Peter Walker

Ex. Target As Andrew Ng, Chief Scientist at Baidu Research, tells Wired, “Deep learning [is] able to handle more signal for better detection of trends in user behavior. Serving ads is basically running a recommendation engine, which deep learning does well.” 

AD TARGETING

https://econsultancy.com/blog/67745-15-examples-of-artificial-intelligence-in-marketing/Thursday, August 18, 16

Page 33: How To Train Your Computer - Peter Walker

Ex. Skype Translator; Siri, Cortana; Baidu. Speech recognition is particularly important in the Chinese market, where using a keyboard to type small and intricate characters can be laborious.

SPEECH RECOGNITION

https://econsultancy.com/blog/67745-15-examples-of-artificial-intelligence-in-marketing/Thursday, August 18, 16

Page 34: How To Train Your Computer - Peter Walker

Ex. Google Photos; Snapchat Face Swap. Coolest implementation of image recognition - DuLight from Baidu. Designed for the visually impaired, this early prototype recognizes what is in front of the wearer and then describes it back to them.

IMAGE RECOGNITION

https://econsultancy.com/blog/67745-15-examples-of-artificial-intelligence-in-marketing/Thursday, August 18, 16

Page 35: How To Train Your Computer - Peter Walker

Ex. Wearables; Smart Home; Video & Images. Important points - Data Collection (user behaviors and transactions); Channel optimization (Great UX and UI with measurement and testing)

INTERNET OF THINGS

http://marketingland.com/marketers-must-learn-hard-lessons-mobile-succeed-iot-182825Thursday, August 18, 16

Page 36: How To Train Your Computer - Peter Walker

Your.MD - AI-powered Doctor Diagnosis on Messenger Via Chatbothttp://hitconsultant.net/2016/04/29/md-launches-ai-powered-doctor-diagnosis-facebook-messenger-via-chatbot/Thursday, August 18, 16

Page 37: How To Train Your Computer - Peter Walker

Health Questions1. What’s wrong with me?2. What’s the most likely

solution?3. What services are available

to help me get better?

YOUR.MD’S A.I.

http://hitconsultant.net/2016/04/29/md-launches-ai-powered-doctor-diagnosis-facebook-messenger-via-chatbot/Thursday, August 18, 16

Page 38: How To Train Your Computer - Peter Walker

5 Key Areas1. Prescription medicines2. Mental health3. Telemedicine4.Specialist services from the

NHS5. Integration with other

self-care apps

YOUR.MD’S A.I.

http://hitconsultant.net/2016/04/29/md-launches-ai-powered-doctor-diagnosis-facebook-messenger-via-chatbot/Thursday, August 18, 16

Page 39: How To Train Your Computer - Peter Walker

Service access on chat:• Slack• Facebook Messenger• WeChat• Kik• Telegram• Samsung S Health

YOUR.MD’S A.I.

http://hitconsultant.net/2016/04/29/md-launches-ai-powered-doctor-diagnosis-facebook-messenger-via-chatbot/Thursday, August 18, 16

Page 40: How To Train Your Computer - Peter Walker

HOW TO DO A.I.

Thursday, August 18, 16

Page 41: How To Train Your Computer - Peter Walker

IFTTT - ifttt.comZapier - zapier.comScribe - scribesoft.com

Ex. CRM system with anayltics or a mailing tool.

OUT-OF-THE-BOX SOLUTIONS

http://venturebeat.com/2016/06/05/how-bot-to-bot-could-soon-replace-apis/Thursday, August 18, 16

Page 42: How To Train Your Computer - Peter Walker

Lesson 1: Pick a platform that is easy

Node - nodejs.orgGo - golang.orgRails - rubyonrails.org

6 LESSONS FROM BUILDING A CHATBOT

http://venturebeat.com/2016/07/18/6-lessons-from-building-my-own-chatbot/Thursday, August 18, 16

Page 43: How To Train Your Computer - Peter Walker

Lesson 2: Use a bot-as-a-service platform (BaaS)

Meya.ai - free with online editor; Messenger support, Slack contactOthers - Repey.ai; Smooch.io; Messenger Wit

6 LESSONS FROM BUILDING A CHATBOT

http://venturebeat.com/2016/07/18/6-lessons-from-building-my-own-chatbot/Thursday, August 18, 16

Page 44: How To Train Your Computer - Peter Walker

Meya.ai Meya has abstracted all the bot operations into a simple markup language built off the idea of states (e.g., operations the bot or user does) and flows (e.g., collections of states that go from one to the next).

The language allows the programmer to create easy-to-follow workflows built off a number of components corresponding to basic programming operations — such as outputting text, taking text input, and comparing a variable with a reference value.

6 LESSONS FROM BUILDING A CHATBOT

http://venturebeat.com/2016/07/18/6-lessons-from-building-my-own-chatbot/Thursday, August 18, 16

Page 45: How To Train Your Computer - Peter Walker

Lesson 3: Your platform dictates your distribution and your capabilitiesIntergrate with SMS, Slack, Facebook, WhatsApp, etc.

6 LESSONS FROM BUILDING A CHATBOT

http://venturebeat.com/2016/07/18/6-lessons-from-building-my-own-chatbot/Thursday, August 18, 16

Page 46: How To Train Your Computer - Peter Walker

Lesson 4: Buttons beat A.I.A.I. is not the reason people use bots. People use bots because messaging can often be a faster and simpler experience than navigating a new website or downloading yet another app.

6 LESSONS FROM BUILDING A CHATBOT

http://venturebeat.com/2016/07/18/6-lessons-from-building-my-own-chatbot/Thursday, August 18, 16

Page 47: How To Train Your Computer - Peter Walker

Lesson 5: The interaction is the UX

1. Focus on the user’s intent2. Remember context3. Personalize4. Optimize for speed5. Use graphics to provide rich experiences

6 LESSONS FROM BUILDING A CHATBOT

http://venturebeat.com/2016/07/18/6-lessons-from-building-my-own-chatbot/Thursday, August 18, 16

Page 48: How To Train Your Computer - Peter Walker

Lesson 6: Use reusable patterns

For a developer, this means a faster build-measure-learn loop on each new project, which means more focus on the high-value business purposes of your bot and less on the plumbing. If you do multiple projects, you can copy out particular patterns and save them for later projects.

6 LESSONS FROM BUILDING A CHATBOT

http://venturebeat.com/2016/07/18/6-lessons-from-building-my-own-chatbot/Thursday, August 18, 16

Page 49: How To Train Your Computer - Peter Walker

Lesson 6a: Test, test, testAn easy, low-cost option for user testing is to recruit U.S.-based people through Amazon’s Mechanical Turk service, and ask them to try out specific features on your bot and give brutally honest feedback about what they don’t like.

6 LESSONS FROM BUILDING A CHATBOT

http://venturebeat.com/2016/07/18/6-lessons-from-building-my-own-chatbot/Thursday, August 18, 16

Page 50: How To Train Your Computer - Peter Walker

wit.aihttps://www.sitepoint.com/five-simple-ways-to-build-artificial-intelligence-in-2016/

Thursday, August 18, 16

Page 51: How To Train Your Computer - Peter Walker

Wit.ai has two main elements to it that you set up within your app – intents and entities. An intent is what action an instruction should take (e.g. turn on a light). An entity is a specific object or piece of information that our AI needs to know about to enact that intent (e.g. which light? Is it a smart light? Should it understand particular colors the light can switch to?).There is a Wit.ai API for developers of iOS, Android, Node.js, Raspberry Pi, Ruby, Python, C, Rust and Windows Phone. It even has a JavaScript plugin for front end developers.

WIT.AI

https://www.sitepoint.com/five-simple-ways-to-build-artificial-intelligence-in-2016/Thursday, August 18, 16

Page 52: How To Train Your Computer - Peter Walker

api.aihttps://www.sitepoint.com/five-simple-ways-to-build-artificial-intelligence-in-2016/

Thursday, August 18, 16

Page 53: How To Train Your Computer - Peter Walker

Api.ai is another service which provides similar capabilities to Wit.ai, with intents and entities. Just like Wit.ai, Api.ai is free to use.

Api.ai has SDKs for Android, iOS, the Apple Watch, Node.js, Cordova, Unity, C#, Xamarin, Windows Phone, Python and JavaScript. It also can be integrated with Amazon’s Echo and Microsoft’s Cortana.

API.AI

https://www.sitepoint.com/five-simple-ways-to-build-artificial-intelligence-in-2016/Thursday, August 18, 16

Page 54: How To Train Your Computer - Peter Walker

Jasper - Raspberry Pi (Python)https://www.sitepoint.com/five-simple-ways-to-build-artificial-intelligence-in-2016/

Thursday, August 18, 16

Page 55: How To Train Your Computer - Peter Walker

Clarifaihttps://www.sitepoint.com/five-simple-ways-to-build-artificial-intelligence-in-2016/

Thursday, August 18, 16

Page 56: How To Train Your Computer - Peter Walker

Clarifai is an artificial intelligence service that can recognize image and video content. It has its own deep learning engine that continuously improves with every use.

Clarifai has both a REST API that could be integrated with your preferred language along with a Python, Java and Node.js API. Their service is free for up to 5000 uses a month.

CLARIFAI

https://www.sitepoint.com/five-simple-ways-to-build-artificial-intelligence-in-2016/Thursday, August 18, 16

Page 57: How To Train Your Computer - Peter Walker

Fancy Handshttps://www.sitepoint.com/five-simple-ways-to-build-artificial-intelligence-in-2016/

Thursday, August 18, 16

Page 58: How To Train Your Computer - Peter Walker

M, Facebook Messenger’s AI assistant, works via a mix of both artificial intelligence and a team of human helpers that train the system. These human helpers provide more intelligence to make up for where AI’s current capabilities fall short. You can get access to your own human army of helpers via Fancy Hands.

This can be an exciting option for developers who are focused on the personal assistant angle but need more than current AI alone can provide. Fancy Hands have an API for developers to connect their own app to request Fancy Hand’s services.

The Fancy Hands SDK is available for Python, Ruby, Java, PHP, Node.js and Go.

FANCY HANDS

https://www.sitepoint.com/five-simple-ways-to-build-artificial-intelligence-in-2016/Thursday, August 18, 16