Skip to content

Commit 205c4a6

Browse files
author
Chris Swierczewski
committed
[LDA] Add sagemaker_session to training jobs
1 parent 22f1a35 commit 205c4a6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

introduction_to_amazon_algorithms/lda_topic_modeling/LDA-Introduction.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@
342342
" output_path='s3://{}/{}/output'.format(bucket, prefix),\n",
343343
" train_instance_count=1,\n",
344344
" train_instance_type='ml.c4.2xlarge',\n",
345+
" sagemaker_session=session,\n",
345346
")\n",
346347
"\n",
347348
"# set algorithm-specific hyperparameters\n",

scientific_details_of_algorithms/lda_topic_modeling/LDA-Science.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,7 @@
584584
" output_path='s3://{}/{}/output'.format(bucket, prefix),\n",
585585
" train_instance_count=1,\n",
586586
" train_instance_type='ml.c4.2xlarge',\n",
587+
" sagemaker_session=session,\n",
587588
")\n",
588589
"\n",
589590
"# set algorithm-specific hyperparameters\n",

0 commit comments

Comments
 (0)