Slide 1

Slide 1 text

Evaluate Person's Pulse Data with Machine Learning Gabriela de Queiroz Senior Developer Advocate, IBM [email protected]

Slide 2

Slide 2 text

CALL FOR CODE 2 • Worldwide, multi-year initiative that inspires developers to solve pressing global problems with sustainable software solutions. • Create applications with IBM Cloud technology that improve disaster preparedness and relief, build resilient communities, and safeguard the health and well-being of individuals and institutions. https://developer.ibm.com/callforcode/

Slide 3

Slide 3 text

Agenda 3 In this 30-minute online meetup you will learn: - How to build a mobile web app to check a person's pulse rate - How to evaluate a person's pulse data with Machine Learning - How to leverage pulse data during emergencies and natural disasters

Slide 4

Slide 4 text

4 https://developer.ibm.com/code/patterns/develop-web-based-mobile-health-app-uses-machine-learning/

Slide 5

Slide 5 text

DISCLAIMER: This application is used for demonstrative and illustrative purposes only and does not constitute an offering that has gone through regulatory review. It is not intended to serve as a medical application. There is no representation as to the accuracy of the output of this application and it is presented without warranty. 5

Slide 6

Slide 6 text

General Workflow 6

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

Steps 8

Slide 9

Slide 9 text

Clone/Download the github repo: https://github.com/IBM/pulse-iot-wml-mobile-health 9

Slide 10

Slide 10 text

Steps: 1.Create the Node.js app. 2.Set up the Watson Machine Learning service in IBM Cloud. 3.Set up Watson IoT Platform in IBM Cloud. 4.Set up the machine learning model in IBM Watson Studio. 5.Try it out on your smartphone. 10

Slide 11

Slide 11 text

Step 1: Create a Node.js (Node.js Cloudant DB Web Starter) 11

Slide 12

Slide 12 text

1.1: Create a Node.js and Cloudant DB 12

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

This will will create the app and the CloudantNoSQLDB App CloudantNoSQLDB

Slide 15

Slide 15 text

Step 2: Set up the Watson Machine Learning service in IBM Cloud. 15

Slide 16

Slide 16 text

2.1: Create a Machine Learning service 16

Slide 17

Slide 17 text

• Create a project • Add new Watson ML model

Slide 18

Slide 18 text

2.2: Save the credentials 18

Slide 19

Slide 19 text

Step 3: Set up Watson IoT Platform in IBM Cloud. 19

Slide 20

Slide 20 text

• Create a project • Add new Watson ML model

Slide 21

Slide 21 text

• Add it by binding from within your node.js app (click on "+ Add A Connection" to add this service to your app) Make sure the service is binded

Slide 22

Slide 22 text

Step 4: Set up the Machine Learning Model in IBM Watson Studio. 22

Slide 23

Slide 23 text

4.1: Create a new project 23

Slide 24

Slide 24 text

4.2: Create a ML model 24 Under Assets, click on “New Watson Machine Learning Model”

Slide 25

Slide 25 text

Define the model details: 1) Give it a name 2) Associate a Spark Service 3) Associate a Machine Learning Service

Slide 26

Slide 26 text

4.3: Associate a Spark instance 26

Slide 27

Slide 27 text

4.4: Associate a Machine Learning service instance 27

Slide 28

Slide 28 text

All good!

Slide 29

Slide 29 text

4.5: Create a notebook 29 Under Assets > Notebooks > New notebook

Slide 30

Slide 30 text

4.6: Import Notebook and Define the language and Spark version 30 You can import the ipython notebook "Pulse Rates.ipynb" (in the repo)

Slide 31

Slide 31 text

4.7: Run the ipython notebook "Pulse Rates.ipynb" 31 Don’t forget to fill your Watson ML Credentials!!

Slide 32

Slide 32 text

Step 5: Deploy the App 32

Slide 33

Slide 33 text

5.1: After the model is deployed get the credentials and save to .env 33

Slide 34

Slide 34 text

5.2: Run each line by line the content of the deploy.sh 34

Slide 35

Slide 35 text

The app is ready! 35

Slide 36

Slide 36 text

DOC ID / Month XX, 2018 / © 2018 IBM Corporation How could I leverage the pulse rate app during emergencies and natural disasters? 36

Slide 37

Slide 37 text

DOC ID / Month XX, 2018 / © 2018 IBM Corporation 37 Source: https://news.stjohnvic.com.au/first-aid-hypothermia-treatment/

Slide 38

Slide 38 text

Cave Rescue 38

Slide 39

Slide 39 text

Landslides 39

Slide 40

Slide 40 text

40

Slide 41

Slide 41 text

!41