Skip to content

Commit e31197e

Browse files
authored
Update kmeans_mnist.ipynb (#2067)
1 parent f17c40f commit e31197e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

sagemaker-python-sdk/1P_kmeans_highlevel/kmeans_mnist.ipynb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,18 +289,16 @@
289289
"metadata": {},
290290
"outputs": [],
291291
"source": [
292-
"import sagemaker\n",
293-
"\n",
294-
"sagemaker.Session().delete_endpoint(kmeans_predictor.endpoint)"
292+
"kmeans_predictor.delete_endpoint()"
295293
]
296294
}
297295
],
298296
"metadata": {
299297
"instance_type": "ml.t3.medium",
300298
"kernelspec": {
301-
"display_name": "Python 3 (Data Science)",
299+
"display_name": "conda_python3",
302300
"language": "python",
303-
"name": "python3__SAGEMAKER_INTERNAL__arn:aws:sagemaker:us-west-2:236514542706:image/datascience-1.0"
301+
"name": "conda_python3"
304302
},
305303
"language_info": {
306304
"codemirror_mode": {
@@ -312,7 +310,7 @@
312310
"name": "python",
313311
"nbconvert_exporter": "python",
314312
"pygments_lexer": "ipython3",
315-
"version": "3.7.6"
313+
"version": "3.6.10"
316314
},
317315
"notice": "Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the \"License\"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ or in the \"license\" file accompanying this file. This file is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."
318316
},

0 commit comments

Comments
 (0)