This repository is mainteaind by three authors:
- Muhyun Kim
- Yuval Fernbach
- Cyrus Vahid
The repository's aim is to implement most common use-cases of deep learning as SageMaker custom algorithms.
The code in this repository is not uptimized for performance and scale and is rather aiming to provide demos and tutorials.
#Introduction to AmazonSageMaker Python SDK SageMaker Python SDK is an open source library for training and deploying machine learning models on Amazon SageMaker.
-
Estimator: Encapsulate training on SageMaker. Can be fit() to run training, then the resulting model deploy() ed to a SageMaker Endpoint.
-
MXNet Estimator: With MXNet Estimators, you can train and host MXNet models on Amazon SageMaker.
-attach
: Create a SageMakerMXNetModel
object that can be deployed to anEndpoint
. -create_model
: Create anEstimator
bound to an existing training job. After attaching, if the training job is in a Complete status, it can bedeploy
ed to create a SageMakerEndpoint
and return aPredictor
. -train_image
:EstimatorBase.fit
method, which does the model training, calls this method to find the image to use for model training. The methods returns a docker image -
Model: Encapsulate built ML models. Can be deploy() ed to a SageMaker Endpoint.
deploy
: Deploy thisModel
to anEndpoint
and optionally return aPredictor
prepare_container_def
: Return a dict created bysagemaker.container_def()
for deploying this model to a specified instance type
-
Predictor: Provide real-time inference and transformation using Python data-types against a SageMaker Endpoint
-
Session: Provides a collection of convience methods for working with SageMaker resources.