Slide 1

Slide 1 text

Machine Learning as an API: The Bleeding Edge PROSPER OTEMUYIWA - @unicodeveloper

Slide 2

Slide 2 text

Speaker Bio Laracon EU 2017 2 ❖ Software Developer ❖ Consultant at Auth0 ❖ Open Sourcerer ❖ Self-Acclaimed Developer Evangelist ❖ Community Builder ❖ Jollof Rice Ambassador ❖ Google Developer Expert ❖ Live in Lagos, Nigeria

Slide 3

Slide 3 text

What is Machine Learning? Laracon EU 2017 3 Machine Learning is a type of artificial intelligence (AI) that provides computers with the ability to learn without being explicitly programmed.

Slide 4

Slide 4 text

Machine Learning focuses on the development of computer programs that can change when exposed to new data.

Slide 5

Slide 5 text

Machine Learning focuses on the development of computer programs that can change when exposed to new data.

Slide 6

Slide 6 text

Machine Learning Experiences?

Slide 7

Slide 7 text

Machine Learning Experiences Laracon EU 2017 7 Self Driving Cars

Slide 8

Slide 8 text

Machine Learning Experiences Laracon EU 2017 8 Closed Captioning on Youtube

Slide 9

Slide 9 text

Machine Learning Experiences Laracon EU 2017 9 Gmail Smart Reply

Slide 10

Slide 10 text

Machine Learning Experiences Laracon EU 2017 10 Google Photos Image Search

Slide 11

Slide 11 text

Machine Learning Experiences Laracon EU 2017 11 Easy to differentiate

Slide 12

Slide 12 text

Machine Learning Experiences Laracon EU 2017 12 Oh, Snap, What do we do?

Slide 13

Slide 13 text

It’s amazing to feel these experiences, but how do you involve Machine Learning in your app?

Slide 14

Slide 14 text

Machine Learning Tools Laracon EU 2017 14 Tensor Flow - Open Source Software Library for Machine Intelligence http://bit.ly/1MWEhkH

Slide 15

Slide 15 text

Machine Learning Tools Laracon EU 2017 15 Google Cloud Machine Learning Engine - Run & Manage Tensor Flow Models http://bit.ly/2wItTNT

Slide 16

Slide 16 text

These tools are great, but building & training your own models can be hard….really, really hard!

Slide 17

Slide 17 text

Introducing….

Slide 18

Slide 18 text

Machine Learning As An API

Slide 19

Slide 19 text

Machine Learning As An API Laracon EU 2017 19 Vision API Speech API Natural Language API Translation API Video Intelligence API Laracon EU 2017 5 Powerful APIs - Access to Pre-trained Machine Learning Models

Slide 20

Slide 20 text

With a Single API Call, experience Machine Learning in your application Realtime!

Slide 21

Slide 21 text

Machine Learning - Cloud Vision API 21 ❖ Face Detection ❖ LandMark Detection ❖ Label Detection ❖ Optical Character Detection ❖ Explicit Content Detection ❖ Logo Detection Laracon EU 2017

Slide 22

Slide 22 text

Machine Learning - Cloud Vision API 22 Laracon EU 2017 The Image to be Analyzed - Boss Mode

Slide 23

Slide 23 text

Machine Learning - Cloud Vision API 23 Laracon EU 2017 Request to Cloud Vision API

Slide 24

Slide 24 text

Machine Learning - Cloud Vision API 24 Laracon EU 2017 Request to Cloud Vision API JSON Result

Slide 25

Slide 25 text

Machine Learning - Cloud Vision API 25 Laracon EU 2017 ❖ Upload an Image ❖ Make a call to the API ❖ Analyze the Image ❖ Get results http://bit.ly/21xSsUV

Slide 26

Slide 26 text

Machine Learning - Cloud Translation API 26 ❖ Language Detection ❖ Text Translation Laracon EU 2017 http://bit.ly/2x3bdrJ

Slide 27

Slide 27 text

Machine Learning - Cloud Translation API 27 Laracon EU 2017 Request to Cloud Translation API

Slide 28

Slide 28 text

Machine Learning - Cloud Translation API 28 Laracon EU 2017 Request to Cloud Translation API - JSON

Slide 29

Slide 29 text

Machine Learning - Cloud Translation API 29 Laracon EU 2017 ❖ Pass in a text ❖ Choose the target lang. ❖ Translate ❖ Get results

Slide 30

Slide 30 text

Machine Learning - Cloud Speech API 30 ❖ Automatic Speech Recognition ❖ Global Vocabulary - over 110 Languages supported ❖ Real-time or Pre-recorded Audio Support ❖ Noise Robustness ❖ Inappropriate Content Filtering Laracon EU 2017

Slide 31

Slide 31 text

Machine Learning - Cloud Speech API 31 Laracon EU 2017 Request to Cloud Speech API Step 1 Save as sync-request.json Step 2 Make the API request

Slide 32

Slide 32 text

Machine Learning - Cloud Speech API 32 Laracon EU 2017 Request to Cloud Speech API Step 3 Returns the transcript http://bit.ly/21JxVdf

Slide 33

Slide 33 text

Machine Learning - Cloud Speech API 33 Laracon EU 2017 Making the request via Code

Slide 34

Slide 34 text

Machine Learning - Natural Language API 34 ❖ Sentimental Analysis ❖ Powerful Text Analysis ❖ Multi-lingual Support ❖ Entity Analysis Laracon EU 2017 http://bit.ly/2auUyjq

Slide 35

Slide 35 text

Machine Learning - Natural Language API 35 Laracon EU 2017 ❖ Entity Analysis

Slide 36

Slide 36 text

Machine Learning - Natural Language API 36 Laracon EU 2017 ❖ Sentimental Analysis

Slide 37

Slide 37 text

Machine Learning - Natural Language API 37 Laracon EU 2017

Slide 38

Slide 38 text

Machine Learning - Natural Language API 38 Laracon EU 2017 Request to Natural Language API Step 1 Save as translate-request.json Step 2 Make the API request

Slide 39

Slide 39 text

Machine Learning - Natural Language API 39 Laracon EU 2017 Request to Natural Language API Step 3 Returns the translated text

Slide 40

Slide 40 text

Machine Learning - Natural Language API 40 Laracon EU 2017 Detect Language - Request to Natural Language API POST https://translation.googleapis.com/language/t ranslate/v2/detect?key=YOUR_API

Slide 41

Slide 41 text

Machine Learning - Video Intelligence API 41 ❖ Label Detection ❖ Shot Change Detection ❖ SafeSearch Detection ❖ Applied on large-scale media platforms like Youtube Laracon EU 2017 http://bit.ly/2mk6FWD

Slide 42

Slide 42 text

Machine Learning - Video Intelligence API 42 Laracon EU 2017 Request to Video Intelligence API ❖ Label Detection

Slide 43

Slide 43 text

Machine Learning - Video Intelligence API 43 Laracon EU 2017 Request to Video Intelligence API ❖ Shot Change Detection

Slide 44

Slide 44 text

Machine Learning - Video Intelligence API 44 Laracon EU 2017 Request to Video Intelligence API ❖ JSON Result

Slide 45

Slide 45 text

Ermm..Done Yet? One more thing.

Slide 46

Slide 46 text

Machine Learning As An API Laracon EU 2017 46 Laracon EU 2017 Do you know you can help job seekers find relevant roles with Machine Learning?

Slide 47

Slide 47 text

Machine Learning - Cloud Jobs API Laracon EU 2017 4 7 ❖ Deliver relevant job search results ❖ Attract candidates based on commute search ❖ Seniority Alignment ❖ Real-time Query Broadening Still in Private Alpha - http://bit.ly/2t5XbTK

Slide 48

Slide 48 text

Thank you #LaraconEU - @unicodeveloper