Created
August 25, 2020 23:51
-
-
Save maxbrenner-ai/2c1592f7b38b49d51881d9b8b33edb60 to your computer and use it in GitHub Desktop.
sagemaker deploy model - deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
endpoint_name = 'anomaly-detection-endpoint' | |
anomaly_detection.deploy(initial_instance_count=1, | |
instance_type='ml.t2.medium', | |
endpoint_name=endpoint_name) | |
# Delete endpoint when you don't need your model deployed | |
sm.delete_endpoint(EndpointName=endpoint_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment