Created
May 14, 2018 08:08
-
-
Save andreaschandra/fd0cd6cf1074f595b49002494633a41a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
kmeans_endpoint_config = 'topic-kmeans-config' | |
print(kmeans_endpoint_config) | |
create_endpoint_config_response = sm.create_endpoint_config( | |
EndpointConfigName = kmeans_endpoint_config, | |
ProductionVariants = [{'InstanceType' : 'ml.m4.xlarge', | |
'InitialInstanceCount': 1, | |
'ModelName' : kmeans_model, | |
'VariantName' : 'AllTraffic'} | |
]) | |
print("Endpoint Config Arn: " + create_endpoint_config_response['EndpointConfigArn']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment