Preparing the entrypoint scikit-learn training script
Scikit-learn is a popular open source software library for machine learning. In this recipe, we will define a custom scikit-learn neural network model and prepare the entrypoint training script. In the next recipe, we will use the SKLearn estimator from the SageMaker Python SDK with this script as the entrypoint argument for training and deployment. If you are planning to migrate your custom scikit-learn neural network code and perform training and deployment with the SageMaker platform, then this recipe (and the next) is for you!
Getting ready
This recipe continues from Generating a synthetic dataset for deep learning experiments.
How to do it
The instructions in this recipe focus on preparing the entrypoint script. Let's start by creating an empty file named sklearn_script.py inside the Jupyter notebook instance and then proceed with the next set of steps:
- Navigate to the
/ml-experients/chapter03/SKLearn...