Skip to content

Commit 0dc1a00

Browse files
committed
Updated with Experiments management
1 parent 29cec72 commit 0dc1a00

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

1_Monitoring_your_TensorFlow_scripts.ipynb

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,47 @@
283283
"You can access TensorBoard locally at http://localhost:6006"
284284
]
285285
},
286+
{
287+
"cell_type": "markdown",
288+
"metadata": {},
289+
"source": [
290+
"### Analyze the experiments"
291+
]
292+
},
293+
{
294+
"cell_type": "code",
295+
"execution_count": null,
296+
"metadata": {},
297+
"outputs": [],
298+
"source": [
299+
"search_expression = {\n",
300+
" \"Filters\":[\n",
301+
" {\n",
302+
" \"Name\": \"DisplayName\",\n",
303+
" \"Operator\": \"Equals\",\n",
304+
" \"Value\": \"Training\",\n",
305+
" }\n",
306+
" ],\n",
307+
"}"
308+
]
309+
},
310+
{
311+
"cell_type": "code",
312+
"execution_count": null,
313+
"metadata": {},
314+
"outputs": [],
315+
"source": [
316+
"from sagemaker.analytics import ExperimentAnalytics\n",
317+
"trial_component_analytics = ExperimentAnalytics(\n",
318+
" sagemaker_session=sagemaker_session, \n",
319+
" experiment_name=cifar10_experiment.experiment_name,\n",
320+
" search_expression=search_expression\n",
321+
")\n",
322+
"\n",
323+
"table = trial_component_analytics.dataframe(force_refresh=True)\n",
324+
"display(table)"
325+
]
326+
},
286327
{
287328
"cell_type": "markdown",
288329
"metadata": {},

0 commit comments

Comments
 (0)