3. Upload the SageMaker notebooks into Watson Studio project

We will upload the notebook/s into Watson Studio project.

Step 1

Log in to the project in Cloud Pak for Data and click on Assets

Step 2

Click on New asset

Step 3

Click on Code editors

Step 4

Click on Jupyter notebook editor

Step 5

Select From file option - choose the default runtime (1vCPU & 2GB RAM) to run the notebook. You can click on Drag and drop files here or upload and select the Data-pre-processing.ipynb notebook from your local file system. Hit the Create button to start the upload process of the notebook.

Step 6

Click on Kernel and choose Restart & Run All option as per the sample image below.

This is how we can build models in Amazon SageMaker and port them into Cloud Pak for Data and run them in Watson Studio.

Optional

Repeat the above steps for uploading the remaining notebooks in this repository.

Note:- The home directory has to be changed in the SageMaker Notebooks after uploading them into Watson Studio. Save the model to home directory cell will need home directory replaced to "/home/wsuser/work” in cell numbers 37 to 41 for WS-Flanders-Predict.ipynb notebook and cell numbers 36 to 40 for WS-Belgium-Predict.ipynb notebook.