About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Summary
This code pattern demonstrates how to build predictive models in Amazon SageMaker and port the notebooks into IBM Cloud Pak for Data. It also shows you how to run the SageMaker notebooks in Watson Studio canvas and generate predictions.
After completing this code pattern, you will understand how to:
- Pre-process and analyze data
- Merge data to create consolidated files
- Generate use cases from the consolidated files for building predictive models
- Build multiple predictive models using SageMaker and generate predictions
- Download the models from SageMaker and import them into Watson Studio
- Run the notebooks in Watson Studio and generate predictions
- Write the predicted results to the S3 bucket
- Monitor SageMaker models in Watson OpenScale
Description
In this code pattern, you learn how to extract data from different sources, pre-process the data, generate two different use cases, build models in SageMaker notebooks using SageMaker's built-in modules as well as open source modules. You also learn how to port SageMaker notebooks into IBM Watson Studio to generate SageMaker endpoints, and how to configure Watson OpenScale to set up and monitor SageMaker endpoints for fairness, quality, and drift metrics. This is a good example of how to integrate different services using IBM and AWS to build an end-to-end solution.
Flow
- Upload raw data from the source to the S3 bucket.
- Pre-process and analyze the data.
- Merge the data files to create consolidated data.
- Import the data from the S3 bucket into SageMaker.
- Build multiple predictive models in SageMaker.
- Download the SageMaker models and import them into Watson Studio.
- Run the models in Watson Studio.
- Write the results back to the S3 bucket.
Instructions
Find the detailed steps for this pattern in the README file. The steps will show you how to:
- Upload the raw data into the S3 buckets.
- Build multiple notebooks in SageMaker.
- Create projects in Watson Studio.
- Download the SageMaker notebooks and import them into Watson Studio.
- Upload the SageMaker notebooks into Watson Studio project.
- Run the notebooks in Watson Studio to generate predictions and endpoints.
- Set up Watson OpenScale for monitoring SageMaker endpoints.
- Monitor SageMaker endpoints using Watson OpenScale.