Quick links : Home - Part 1 - Part 2 - Part 3 - Part 4
Part 4 - Watson Studio - Notebooks
In this lab you will set up Watson Studio with a new Project. You will learn:
- Watson Studio
- How to set up a new Watson Studio Project
- How to create a Jupyter Notebook
Watson Studio accelerates the machine and deep learning workflows required to infuse AI into your business to drive innovation. It provides a suite of tools for data scientists, application developers and subject matter experts, allowing them to collaboratively connect to data, wrangle that data and use it to build, train and deploy models at scale. Successful AI projects require a combination of algorithms + data + team, and a very powerful compute infrastructure.
- Learn more from the Experts - Introducing IBM Watson Studio
- Watch the video which illustrates how to set up Watson Studio or follow the steps below.
- Visit Watson Studio at http://dataplatform.ibm.com
- Login with your IBM Cloud account
- In the Select Organization and Space dialog, click on Continue
- Click on Get Started
- Walk through the introductory tutorial to learn about Watson Studio
- Projects are your workspace to organize your resources, such as assets like data, collaborators, and analytic tools like notebooks and models
- Click on New project
- Make sure to enable Jupyter Notebooks
- Press the OK button.
- Give your Project a name - RaspberryPi
- Press the Create button.
- Press the Settings tab.
- We need to add an Apache Spark service to the project.
- Make certain that Jupyter Notebooks is checked.
- Scroll down to the Associated services section and click on the Add Service
- Select Spark from the dropdown
- In the Apache Spark service panel, select the Lite plan and press the Create button. Press the Confirm button.
- Now an Apache Spark service has been added to your Project.
- We will get started with Tools
- From the top menu, select Tools, and then Notebook
- Select From URL
- Give the notebook a name: IoT Sensor Analytics
- Select From URL
- Import the notebook from this URL https://raw.githubusercontent.com/binnes/esp8266Workshop/master/part4/notebooks/ESP8266-DHT-IoT-Sensor-Analytics.ipynb
- Scroll down to the Select runtime dropdown and choose your Spark service
- Click on Create Notebook
- Before running this notebook, an additional connector notebook needs to be installed.
This will install the Apache Bahir connector within your Project/Apache Spark service. If you restart the kernel or start a new notebook in the same project you can use Apache Bahir for connecting to the Cloudant/Apache CouchDB service.
-
From the top menu, select Tools, and then Notebook
-
Select From URL
-
Give the notebook a name: Apache Bahir
-
Import the notebook from this URL https://raw.githubusercontent.com/romeokienzler/developerWorks/master/coursera/bahir_setup.ipynb
-
Scroll down to the Select runtime dropdown and choose DSX-Spark
-
Click on Create Notebook
-
Once it loads, click on the > Run button twice.
You are now ready to analyse IoT historical dataset using a Jupyter notebook and Spark. Proceed to the Jupyter notebook lab.