njain commited on
Commit
9ff058b
·
1 Parent(s): 94aa680

Upload 4 files

Browse files
Files changed (4) hide show
  1. Dockerfile +7 -0
  2. requirements.txt +4 -0
  3. train.csv +0 -0
  4. webpanel.ipynb +740 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.8
2
+ WORKDIR /code
3
+ COPY ./train.csv /code/train.csv
4
+ COPY ./requirements.txt /code/requirements.txt
5
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
6
+ COPY . .
7
+ CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin" ,"nikhilj-custchurn.hf.space"]
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ panel
2
+ pandas
3
+ scikit-learn
4
+ matplotlib
train.csv ADDED
The diff for this file is too large to render. See raw diff
 
webpanel.ipynb ADDED
@@ -0,0 +1,740 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 3,
6
+ "id": "be73a8ab-381d-403d-a044-da468a85357f",
7
+ "metadata": {
8
+ "tags": []
9
+ },
10
+ "outputs": [
11
+ {
12
+ "name": "stdout",
13
+ "output_type": "stream",
14
+ "text": [
15
+ "Collecting panel\n",
16
+ " Using cached panel-0.14.4-py2.py3-none-any.whl (20.8 MB)\n",
17
+ "Requirement already satisfied: bleach in /opt/conda/lib/python3.7/site-packages (from panel) (6.0.0)\n",
18
+ "Collecting tqdm>=4.48.0\n",
19
+ " Using cached tqdm-4.65.0-py3-none-any.whl (77 kB)\n",
20
+ "Collecting pyviz-comms>=0.7.4\n",
21
+ " Using cached pyviz_comms-2.2.1-py2.py3-none-any.whl (42 kB)\n",
22
+ "Requirement already satisfied: setuptools>=42 in /opt/conda/lib/python3.7/site-packages (from panel) (59.3.0)\n",
23
+ "Collecting bokeh<2.5.0,>=2.4.0\n",
24
+ " Using cached bokeh-2.4.3-py3-none-any.whl (18.5 MB)\n",
25
+ "Collecting markdown\n",
26
+ " Using cached Markdown-3.4.3-py3-none-any.whl (93 kB)\n",
27
+ "Requirement already satisfied: typing-extensions in /opt/conda/lib/python3.7/site-packages (from panel) (4.5.0)\n",
28
+ "Requirement already satisfied: requests in /opt/conda/lib/python3.7/site-packages (from panel) (2.28.2)\n",
29
+ "Collecting param>=1.12.0\n",
30
+ " Using cached param-1.13.0-py2.py3-none-any.whl (87 kB)\n",
31
+ "Collecting pyct>=0.4.4\n",
32
+ " Using cached pyct-0.5.0-py2.py3-none-any.whl (15 kB)\n",
33
+ "Requirement already satisfied: Jinja2>=2.9 in /opt/conda/lib/python3.7/site-packages (from bokeh<2.5.0,>=2.4.0->panel) (3.1.2)\n",
34
+ "Requirement already satisfied: packaging>=16.8 in /opt/conda/lib/python3.7/site-packages (from bokeh<2.5.0,>=2.4.0->panel) (20.1)\n",
35
+ "Requirement already satisfied: pillow>=7.1.0 in /opt/conda/lib/python3.7/site-packages (from bokeh<2.5.0,>=2.4.0->panel) (9.5.0)\n",
36
+ "Requirement already satisfied: tornado>=5.1 in /opt/conda/lib/python3.7/site-packages (from bokeh<2.5.0,>=2.4.0->panel) (6.2)\n",
37
+ "Requirement already satisfied: PyYAML>=3.10 in /opt/conda/lib/python3.7/site-packages (from bokeh<2.5.0,>=2.4.0->panel) (6.0)\n",
38
+ "Requirement already satisfied: numpy>=1.11.3 in /opt/conda/lib/python3.7/site-packages (from bokeh<2.5.0,>=2.4.0->panel) (1.21.6)\n",
39
+ "Requirement already satisfied: webencodings in /opt/conda/lib/python3.7/site-packages (from bleach->panel) (0.5.1)\n",
40
+ "Requirement already satisfied: six>=1.9.0 in /opt/conda/lib/python3.7/site-packages (from bleach->panel) (1.14.0)\n",
41
+ "Requirement already satisfied: importlib-metadata>=4.4 in /opt/conda/lib/python3.7/site-packages (from markdown->panel) (6.3.0)\n",
42
+ "Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/lib/python3.7/site-packages (from requests->panel) (1.26.15)\n",
43
+ "Requirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.7/site-packages (from requests->panel) (2.8)\n",
44
+ "Requirement already satisfied: charset-normalizer<4,>=2 in /opt/conda/lib/python3.7/site-packages (from requests->panel) (2.0.4)\n",
45
+ "Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.7/site-packages (from requests->panel) (2022.12.7)\n",
46
+ "Requirement already satisfied: zipp>=0.5 in /opt/conda/lib/python3.7/site-packages (from importlib-metadata>=4.4->markdown->panel) (3.15.0)\n",
47
+ "Requirement already satisfied: MarkupSafe>=2.0 in /opt/conda/lib/python3.7/site-packages (from Jinja2>=2.9->bokeh<2.5.0,>=2.4.0->panel) (2.1.2)\n",
48
+ "Requirement already satisfied: pyparsing>=2.0.2 in /opt/conda/lib/python3.7/site-packages (from packaging>=16.8->bokeh<2.5.0,>=2.4.0->panel) (2.4.6)\n",
49
+ "Installing collected packages: tqdm, param, pyviz-comms, pyct, markdown, bokeh, panel\n",
50
+ " Attempting uninstall: tqdm\n",
51
+ " Found existing installation: tqdm 4.42.1\n",
52
+ " Uninstalling tqdm-4.42.1:\n",
53
+ " Successfully uninstalled tqdm-4.42.1\n",
54
+ " Attempting uninstall: bokeh\n",
55
+ " Found existing installation: bokeh 1.4.0\n",
56
+ " Uninstalling bokeh-1.4.0:\n",
57
+ " Successfully uninstalled bokeh-1.4.0\n",
58
+ "Successfully installed bokeh-2.4.3 markdown-3.4.3 panel-0.14.4 param-1.13.0 pyct-0.5.0 pyviz-comms-2.2.1 tqdm-4.65.0\n",
59
+ "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n",
60
+ "\u001b[0m\n",
61
+ "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m A new release of pip is available: \u001b[0m\u001b[31;49m23.0.1\u001b[0m\u001b[39;49m -> \u001b[0m\u001b[32;49m23.1.2\u001b[0m\n",
62
+ "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m To update, run: \u001b[0m\u001b[32;49mpip install --upgrade pip\u001b[0m\n"
63
+ ]
64
+ }
65
+ ],
66
+ "source": [
67
+ "!pip install panel"
68
+ ]
69
+ },
70
+ {
71
+ "cell_type": "code",
72
+ "execution_count": 13,
73
+ "id": "7a7f9587-a4d9-4d78-8d57-24cec677dfd0",
74
+ "metadata": {
75
+ "tags": []
76
+ },
77
+ "outputs": [
78
+ {
79
+ "name": "stdout",
80
+ "output_type": "stream",
81
+ "text": [
82
+ "Launching server at http://localhost:44931\n"
83
+ ]
84
+ },
85
+ {
86
+ "data": {
87
+ "text/plain": [
88
+ "<panel.io.server.Server at 0x7f64052afb90>"
89
+ ]
90
+ },
91
+ "execution_count": 13,
92
+ "metadata": {},
93
+ "output_type": "execute_result"
94
+ }
95
+ ],
96
+ "source": [
97
+ "import pandas as pd\n",
98
+ "import matplotlib.pyplot as plt\n",
99
+ "import panel as pn\n",
100
+ "\n",
101
+ "# Load customer churn data\n",
102
+ "data_url = 'train.csv'\n",
103
+ "df = pd.read_csv(data_url)\n",
104
+ "# df.head()\n",
105
+ "\n",
106
+ "# Calculate churn rate\n",
107
+ "churn_rate = df['churn'].value_counts() / len(df)\n",
108
+ "\n",
109
+ "# Create a bar plot of the churn rate\n",
110
+ "fig, ax = plt.subplots()\n",
111
+ "ax.bar(churn_rate.index, churn_rate.values)\n",
112
+ "ax.set_title('Customer Churn Rate')\n",
113
+ "ax.set_xlabel('churn')\n",
114
+ "ax.set_ylabel('Rate')\n",
115
+ "\n",
116
+ "# Create a Panel plot\n",
117
+ "plot_pane = pn.pane.Matplotlib(fig, tight=True)\n",
118
+ "\n",
119
+ "# Create a Panel app layout\n",
120
+ "app_layout = pn.Column(\n",
121
+ " pn.pane.Markdown('# Customer Churn Analysis'),\n",
122
+ " plot_pane\n",
123
+ ")\n",
124
+ "\n",
125
+ "# Deploy the Panel app\n",
126
+ "app = pn.Row(app_layout)\n",
127
+ "app.show()\n"
128
+ ]
129
+ },
130
+ {
131
+ "cell_type": "code",
132
+ "execution_count": null,
133
+ "id": "5da18a55-ecfe-4ecb-81cc-474fe4ad0406",
134
+ "metadata": {},
135
+ "outputs": [],
136
+ "source": []
137
+ },
138
+ {
139
+ "cell_type": "code",
140
+ "execution_count": null,
141
+ "id": "8d5957e5-d7f8-448d-8509-345481a728ca",
142
+ "metadata": {},
143
+ "outputs": [],
144
+ "source": []
145
+ },
146
+ {
147
+ "cell_type": "code",
148
+ "execution_count": null,
149
+ "id": "0420f71a-0d0d-4347-a215-9322cd4838c9",
150
+ "metadata": {},
151
+ "outputs": [],
152
+ "source": []
153
+ },
154
+ {
155
+ "cell_type": "code",
156
+ "execution_count": null,
157
+ "id": "5954711a-f80e-4def-bb9c-e314e54dff65",
158
+ "metadata": {},
159
+ "outputs": [],
160
+ "source": []
161
+ }
162
+ ],
163
+ "metadata": {
164
+ "availableInstances": [
165
+ {
166
+ "_defaultOrder": 0,
167
+ "_isFastLaunch": true,
168
+ "category": "General purpose",
169
+ "gpuNum": 0,
170
+ "hideHardwareSpecs": false,
171
+ "memoryGiB": 4,
172
+ "name": "ml.t3.medium",
173
+ "vcpuNum": 2
174
+ },
175
+ {
176
+ "_defaultOrder": 1,
177
+ "_isFastLaunch": false,
178
+ "category": "General purpose",
179
+ "gpuNum": 0,
180
+ "hideHardwareSpecs": false,
181
+ "memoryGiB": 8,
182
+ "name": "ml.t3.large",
183
+ "vcpuNum": 2
184
+ },
185
+ {
186
+ "_defaultOrder": 2,
187
+ "_isFastLaunch": false,
188
+ "category": "General purpose",
189
+ "gpuNum": 0,
190
+ "hideHardwareSpecs": false,
191
+ "memoryGiB": 16,
192
+ "name": "ml.t3.xlarge",
193
+ "vcpuNum": 4
194
+ },
195
+ {
196
+ "_defaultOrder": 3,
197
+ "_isFastLaunch": false,
198
+ "category": "General purpose",
199
+ "gpuNum": 0,
200
+ "hideHardwareSpecs": false,
201
+ "memoryGiB": 32,
202
+ "name": "ml.t3.2xlarge",
203
+ "vcpuNum": 8
204
+ },
205
+ {
206
+ "_defaultOrder": 4,
207
+ "_isFastLaunch": true,
208
+ "category": "General purpose",
209
+ "gpuNum": 0,
210
+ "hideHardwareSpecs": false,
211
+ "memoryGiB": 8,
212
+ "name": "ml.m5.large",
213
+ "vcpuNum": 2
214
+ },
215
+ {
216
+ "_defaultOrder": 5,
217
+ "_isFastLaunch": false,
218
+ "category": "General purpose",
219
+ "gpuNum": 0,
220
+ "hideHardwareSpecs": false,
221
+ "memoryGiB": 16,
222
+ "name": "ml.m5.xlarge",
223
+ "vcpuNum": 4
224
+ },
225
+ {
226
+ "_defaultOrder": 6,
227
+ "_isFastLaunch": false,
228
+ "category": "General purpose",
229
+ "gpuNum": 0,
230
+ "hideHardwareSpecs": false,
231
+ "memoryGiB": 32,
232
+ "name": "ml.m5.2xlarge",
233
+ "vcpuNum": 8
234
+ },
235
+ {
236
+ "_defaultOrder": 7,
237
+ "_isFastLaunch": false,
238
+ "category": "General purpose",
239
+ "gpuNum": 0,
240
+ "hideHardwareSpecs": false,
241
+ "memoryGiB": 64,
242
+ "name": "ml.m5.4xlarge",
243
+ "vcpuNum": 16
244
+ },
245
+ {
246
+ "_defaultOrder": 8,
247
+ "_isFastLaunch": false,
248
+ "category": "General purpose",
249
+ "gpuNum": 0,
250
+ "hideHardwareSpecs": false,
251
+ "memoryGiB": 128,
252
+ "name": "ml.m5.8xlarge",
253
+ "vcpuNum": 32
254
+ },
255
+ {
256
+ "_defaultOrder": 9,
257
+ "_isFastLaunch": false,
258
+ "category": "General purpose",
259
+ "gpuNum": 0,
260
+ "hideHardwareSpecs": false,
261
+ "memoryGiB": 192,
262
+ "name": "ml.m5.12xlarge",
263
+ "vcpuNum": 48
264
+ },
265
+ {
266
+ "_defaultOrder": 10,
267
+ "_isFastLaunch": false,
268
+ "category": "General purpose",
269
+ "gpuNum": 0,
270
+ "hideHardwareSpecs": false,
271
+ "memoryGiB": 256,
272
+ "name": "ml.m5.16xlarge",
273
+ "vcpuNum": 64
274
+ },
275
+ {
276
+ "_defaultOrder": 11,
277
+ "_isFastLaunch": false,
278
+ "category": "General purpose",
279
+ "gpuNum": 0,
280
+ "hideHardwareSpecs": false,
281
+ "memoryGiB": 384,
282
+ "name": "ml.m5.24xlarge",
283
+ "vcpuNum": 96
284
+ },
285
+ {
286
+ "_defaultOrder": 12,
287
+ "_isFastLaunch": false,
288
+ "category": "General purpose",
289
+ "gpuNum": 0,
290
+ "hideHardwareSpecs": false,
291
+ "memoryGiB": 8,
292
+ "name": "ml.m5d.large",
293
+ "vcpuNum": 2
294
+ },
295
+ {
296
+ "_defaultOrder": 13,
297
+ "_isFastLaunch": false,
298
+ "category": "General purpose",
299
+ "gpuNum": 0,
300
+ "hideHardwareSpecs": false,
301
+ "memoryGiB": 16,
302
+ "name": "ml.m5d.xlarge",
303
+ "vcpuNum": 4
304
+ },
305
+ {
306
+ "_defaultOrder": 14,
307
+ "_isFastLaunch": false,
308
+ "category": "General purpose",
309
+ "gpuNum": 0,
310
+ "hideHardwareSpecs": false,
311
+ "memoryGiB": 32,
312
+ "name": "ml.m5d.2xlarge",
313
+ "vcpuNum": 8
314
+ },
315
+ {
316
+ "_defaultOrder": 15,
317
+ "_isFastLaunch": false,
318
+ "category": "General purpose",
319
+ "gpuNum": 0,
320
+ "hideHardwareSpecs": false,
321
+ "memoryGiB": 64,
322
+ "name": "ml.m5d.4xlarge",
323
+ "vcpuNum": 16
324
+ },
325
+ {
326
+ "_defaultOrder": 16,
327
+ "_isFastLaunch": false,
328
+ "category": "General purpose",
329
+ "gpuNum": 0,
330
+ "hideHardwareSpecs": false,
331
+ "memoryGiB": 128,
332
+ "name": "ml.m5d.8xlarge",
333
+ "vcpuNum": 32
334
+ },
335
+ {
336
+ "_defaultOrder": 17,
337
+ "_isFastLaunch": false,
338
+ "category": "General purpose",
339
+ "gpuNum": 0,
340
+ "hideHardwareSpecs": false,
341
+ "memoryGiB": 192,
342
+ "name": "ml.m5d.12xlarge",
343
+ "vcpuNum": 48
344
+ },
345
+ {
346
+ "_defaultOrder": 18,
347
+ "_isFastLaunch": false,
348
+ "category": "General purpose",
349
+ "gpuNum": 0,
350
+ "hideHardwareSpecs": false,
351
+ "memoryGiB": 256,
352
+ "name": "ml.m5d.16xlarge",
353
+ "vcpuNum": 64
354
+ },
355
+ {
356
+ "_defaultOrder": 19,
357
+ "_isFastLaunch": false,
358
+ "category": "General purpose",
359
+ "gpuNum": 0,
360
+ "hideHardwareSpecs": false,
361
+ "memoryGiB": 384,
362
+ "name": "ml.m5d.24xlarge",
363
+ "vcpuNum": 96
364
+ },
365
+ {
366
+ "_defaultOrder": 20,
367
+ "_isFastLaunch": false,
368
+ "category": "General purpose",
369
+ "gpuNum": 0,
370
+ "hideHardwareSpecs": true,
371
+ "memoryGiB": 0,
372
+ "name": "ml.geospatial.interactive",
373
+ "supportedImageNames": [
374
+ "sagemaker-geospatial-v1-0"
375
+ ],
376
+ "vcpuNum": 0
377
+ },
378
+ {
379
+ "_defaultOrder": 21,
380
+ "_isFastLaunch": true,
381
+ "category": "Compute optimized",
382
+ "gpuNum": 0,
383
+ "hideHardwareSpecs": false,
384
+ "memoryGiB": 4,
385
+ "name": "ml.c5.large",
386
+ "vcpuNum": 2
387
+ },
388
+ {
389
+ "_defaultOrder": 22,
390
+ "_isFastLaunch": false,
391
+ "category": "Compute optimized",
392
+ "gpuNum": 0,
393
+ "hideHardwareSpecs": false,
394
+ "memoryGiB": 8,
395
+ "name": "ml.c5.xlarge",
396
+ "vcpuNum": 4
397
+ },
398
+ {
399
+ "_defaultOrder": 23,
400
+ "_isFastLaunch": false,
401
+ "category": "Compute optimized",
402
+ "gpuNum": 0,
403
+ "hideHardwareSpecs": false,
404
+ "memoryGiB": 16,
405
+ "name": "ml.c5.2xlarge",
406
+ "vcpuNum": 8
407
+ },
408
+ {
409
+ "_defaultOrder": 24,
410
+ "_isFastLaunch": false,
411
+ "category": "Compute optimized",
412
+ "gpuNum": 0,
413
+ "hideHardwareSpecs": false,
414
+ "memoryGiB": 32,
415
+ "name": "ml.c5.4xlarge",
416
+ "vcpuNum": 16
417
+ },
418
+ {
419
+ "_defaultOrder": 25,
420
+ "_isFastLaunch": false,
421
+ "category": "Compute optimized",
422
+ "gpuNum": 0,
423
+ "hideHardwareSpecs": false,
424
+ "memoryGiB": 72,
425
+ "name": "ml.c5.9xlarge",
426
+ "vcpuNum": 36
427
+ },
428
+ {
429
+ "_defaultOrder": 26,
430
+ "_isFastLaunch": false,
431
+ "category": "Compute optimized",
432
+ "gpuNum": 0,
433
+ "hideHardwareSpecs": false,
434
+ "memoryGiB": 96,
435
+ "name": "ml.c5.12xlarge",
436
+ "vcpuNum": 48
437
+ },
438
+ {
439
+ "_defaultOrder": 27,
440
+ "_isFastLaunch": false,
441
+ "category": "Compute optimized",
442
+ "gpuNum": 0,
443
+ "hideHardwareSpecs": false,
444
+ "memoryGiB": 144,
445
+ "name": "ml.c5.18xlarge",
446
+ "vcpuNum": 72
447
+ },
448
+ {
449
+ "_defaultOrder": 28,
450
+ "_isFastLaunch": false,
451
+ "category": "Compute optimized",
452
+ "gpuNum": 0,
453
+ "hideHardwareSpecs": false,
454
+ "memoryGiB": 192,
455
+ "name": "ml.c5.24xlarge",
456
+ "vcpuNum": 96
457
+ },
458
+ {
459
+ "_defaultOrder": 29,
460
+ "_isFastLaunch": true,
461
+ "category": "Accelerated computing",
462
+ "gpuNum": 1,
463
+ "hideHardwareSpecs": false,
464
+ "memoryGiB": 16,
465
+ "name": "ml.g4dn.xlarge",
466
+ "vcpuNum": 4
467
+ },
468
+ {
469
+ "_defaultOrder": 30,
470
+ "_isFastLaunch": false,
471
+ "category": "Accelerated computing",
472
+ "gpuNum": 1,
473
+ "hideHardwareSpecs": false,
474
+ "memoryGiB": 32,
475
+ "name": "ml.g4dn.2xlarge",
476
+ "vcpuNum": 8
477
+ },
478
+ {
479
+ "_defaultOrder": 31,
480
+ "_isFastLaunch": false,
481
+ "category": "Accelerated computing",
482
+ "gpuNum": 1,
483
+ "hideHardwareSpecs": false,
484
+ "memoryGiB": 64,
485
+ "name": "ml.g4dn.4xlarge",
486
+ "vcpuNum": 16
487
+ },
488
+ {
489
+ "_defaultOrder": 32,
490
+ "_isFastLaunch": false,
491
+ "category": "Accelerated computing",
492
+ "gpuNum": 1,
493
+ "hideHardwareSpecs": false,
494
+ "memoryGiB": 128,
495
+ "name": "ml.g4dn.8xlarge",
496
+ "vcpuNum": 32
497
+ },
498
+ {
499
+ "_defaultOrder": 33,
500
+ "_isFastLaunch": false,
501
+ "category": "Accelerated computing",
502
+ "gpuNum": 4,
503
+ "hideHardwareSpecs": false,
504
+ "memoryGiB": 192,
505
+ "name": "ml.g4dn.12xlarge",
506
+ "vcpuNum": 48
507
+ },
508
+ {
509
+ "_defaultOrder": 34,
510
+ "_isFastLaunch": false,
511
+ "category": "Accelerated computing",
512
+ "gpuNum": 1,
513
+ "hideHardwareSpecs": false,
514
+ "memoryGiB": 256,
515
+ "name": "ml.g4dn.16xlarge",
516
+ "vcpuNum": 64
517
+ },
518
+ {
519
+ "_defaultOrder": 35,
520
+ "_isFastLaunch": false,
521
+ "category": "Accelerated computing",
522
+ "gpuNum": 1,
523
+ "hideHardwareSpecs": false,
524
+ "memoryGiB": 61,
525
+ "name": "ml.p3.2xlarge",
526
+ "vcpuNum": 8
527
+ },
528
+ {
529
+ "_defaultOrder": 36,
530
+ "_isFastLaunch": false,
531
+ "category": "Accelerated computing",
532
+ "gpuNum": 4,
533
+ "hideHardwareSpecs": false,
534
+ "memoryGiB": 244,
535
+ "name": "ml.p3.8xlarge",
536
+ "vcpuNum": 32
537
+ },
538
+ {
539
+ "_defaultOrder": 37,
540
+ "_isFastLaunch": false,
541
+ "category": "Accelerated computing",
542
+ "gpuNum": 8,
543
+ "hideHardwareSpecs": false,
544
+ "memoryGiB": 488,
545
+ "name": "ml.p3.16xlarge",
546
+ "vcpuNum": 64
547
+ },
548
+ {
549
+ "_defaultOrder": 38,
550
+ "_isFastLaunch": false,
551
+ "category": "Accelerated computing",
552
+ "gpuNum": 8,
553
+ "hideHardwareSpecs": false,
554
+ "memoryGiB": 768,
555
+ "name": "ml.p3dn.24xlarge",
556
+ "vcpuNum": 96
557
+ },
558
+ {
559
+ "_defaultOrder": 39,
560
+ "_isFastLaunch": false,
561
+ "category": "Memory Optimized",
562
+ "gpuNum": 0,
563
+ "hideHardwareSpecs": false,
564
+ "memoryGiB": 16,
565
+ "name": "ml.r5.large",
566
+ "vcpuNum": 2
567
+ },
568
+ {
569
+ "_defaultOrder": 40,
570
+ "_isFastLaunch": false,
571
+ "category": "Memory Optimized",
572
+ "gpuNum": 0,
573
+ "hideHardwareSpecs": false,
574
+ "memoryGiB": 32,
575
+ "name": "ml.r5.xlarge",
576
+ "vcpuNum": 4
577
+ },
578
+ {
579
+ "_defaultOrder": 41,
580
+ "_isFastLaunch": false,
581
+ "category": "Memory Optimized",
582
+ "gpuNum": 0,
583
+ "hideHardwareSpecs": false,
584
+ "memoryGiB": 64,
585
+ "name": "ml.r5.2xlarge",
586
+ "vcpuNum": 8
587
+ },
588
+ {
589
+ "_defaultOrder": 42,
590
+ "_isFastLaunch": false,
591
+ "category": "Memory Optimized",
592
+ "gpuNum": 0,
593
+ "hideHardwareSpecs": false,
594
+ "memoryGiB": 128,
595
+ "name": "ml.r5.4xlarge",
596
+ "vcpuNum": 16
597
+ },
598
+ {
599
+ "_defaultOrder": 43,
600
+ "_isFastLaunch": false,
601
+ "category": "Memory Optimized",
602
+ "gpuNum": 0,
603
+ "hideHardwareSpecs": false,
604
+ "memoryGiB": 256,
605
+ "name": "ml.r5.8xlarge",
606
+ "vcpuNum": 32
607
+ },
608
+ {
609
+ "_defaultOrder": 44,
610
+ "_isFastLaunch": false,
611
+ "category": "Memory Optimized",
612
+ "gpuNum": 0,
613
+ "hideHardwareSpecs": false,
614
+ "memoryGiB": 384,
615
+ "name": "ml.r5.12xlarge",
616
+ "vcpuNum": 48
617
+ },
618
+ {
619
+ "_defaultOrder": 45,
620
+ "_isFastLaunch": false,
621
+ "category": "Memory Optimized",
622
+ "gpuNum": 0,
623
+ "hideHardwareSpecs": false,
624
+ "memoryGiB": 512,
625
+ "name": "ml.r5.16xlarge",
626
+ "vcpuNum": 64
627
+ },
628
+ {
629
+ "_defaultOrder": 46,
630
+ "_isFastLaunch": false,
631
+ "category": "Memory Optimized",
632
+ "gpuNum": 0,
633
+ "hideHardwareSpecs": false,
634
+ "memoryGiB": 768,
635
+ "name": "ml.r5.24xlarge",
636
+ "vcpuNum": 96
637
+ },
638
+ {
639
+ "_defaultOrder": 47,
640
+ "_isFastLaunch": false,
641
+ "category": "Accelerated computing",
642
+ "gpuNum": 1,
643
+ "hideHardwareSpecs": false,
644
+ "memoryGiB": 16,
645
+ "name": "ml.g5.xlarge",
646
+ "vcpuNum": 4
647
+ },
648
+ {
649
+ "_defaultOrder": 48,
650
+ "_isFastLaunch": false,
651
+ "category": "Accelerated computing",
652
+ "gpuNum": 1,
653
+ "hideHardwareSpecs": false,
654
+ "memoryGiB": 32,
655
+ "name": "ml.g5.2xlarge",
656
+ "vcpuNum": 8
657
+ },
658
+ {
659
+ "_defaultOrder": 49,
660
+ "_isFastLaunch": false,
661
+ "category": "Accelerated computing",
662
+ "gpuNum": 1,
663
+ "hideHardwareSpecs": false,
664
+ "memoryGiB": 64,
665
+ "name": "ml.g5.4xlarge",
666
+ "vcpuNum": 16
667
+ },
668
+ {
669
+ "_defaultOrder": 50,
670
+ "_isFastLaunch": false,
671
+ "category": "Accelerated computing",
672
+ "gpuNum": 1,
673
+ "hideHardwareSpecs": false,
674
+ "memoryGiB": 128,
675
+ "name": "ml.g5.8xlarge",
676
+ "vcpuNum": 32
677
+ },
678
+ {
679
+ "_defaultOrder": 51,
680
+ "_isFastLaunch": false,
681
+ "category": "Accelerated computing",
682
+ "gpuNum": 1,
683
+ "hideHardwareSpecs": false,
684
+ "memoryGiB": 256,
685
+ "name": "ml.g5.16xlarge",
686
+ "vcpuNum": 64
687
+ },
688
+ {
689
+ "_defaultOrder": 52,
690
+ "_isFastLaunch": false,
691
+ "category": "Accelerated computing",
692
+ "gpuNum": 4,
693
+ "hideHardwareSpecs": false,
694
+ "memoryGiB": 192,
695
+ "name": "ml.g5.12xlarge",
696
+ "vcpuNum": 48
697
+ },
698
+ {
699
+ "_defaultOrder": 53,
700
+ "_isFastLaunch": false,
701
+ "category": "Accelerated computing",
702
+ "gpuNum": 4,
703
+ "hideHardwareSpecs": false,
704
+ "memoryGiB": 384,
705
+ "name": "ml.g5.24xlarge",
706
+ "vcpuNum": 96
707
+ },
708
+ {
709
+ "_defaultOrder": 54,
710
+ "_isFastLaunch": false,
711
+ "category": "Accelerated computing",
712
+ "gpuNum": 8,
713
+ "hideHardwareSpecs": false,
714
+ "memoryGiB": 768,
715
+ "name": "ml.g5.48xlarge",
716
+ "vcpuNum": 192
717
+ }
718
+ ],
719
+ "instance_type": "ml.t3.medium",
720
+ "kernelspec": {
721
+ "display_name": "Python 3 (Data Science)",
722
+ "language": "python",
723
+ "name": "python3__SAGEMAKER_INTERNAL__arn:aws:sagemaker:us-east-1:081325390199:image/datascience-1.0"
724
+ },
725
+ "language_info": {
726
+ "codemirror_mode": {
727
+ "name": "ipython",
728
+ "version": 3
729
+ },
730
+ "file_extension": ".py",
731
+ "mimetype": "text/x-python",
732
+ "name": "python",
733
+ "nbconvert_exporter": "python",
734
+ "pygments_lexer": "ipython3",
735
+ "version": "3.7.10"
736
+ }
737
+ },
738
+ "nbformat": 4,
739
+ "nbformat_minor": 5
740
+ }