A Machine Learning Specialist previously trained a logistic regression model using scikit-learn on a local machine, and the Specialist now wants to deploy it to production for inference only. What steps should be taken to ensure Amazon SageMaker can host a model that was trained locally?

Last Updated on September 13, 2021 by Admin

A Machine Learning Specialist previously trained a logistic regression model using scikit-learn on a local machine, and the Specialist now wants to deploy it to production for inference only.

What steps should be taken to ensure Amazon SageMaker can host a model that was trained locally?

  • Build the Docker image with the inference code. Tag the Docker image with the registry hostname and upload it to Amazon ECR.
  • Serialize the trained model so the format is compressed for deployment. Tag the Docker image with the registry hostname and upload it to Amazon S3.
  • Serialize the trained model so the format is compressed for deployment. Build the image and upload it to Docker Hub.
  • Build the Docker image with the inference code. Configure Docker Hub and upload the image to Amazon ECR.
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments