Skip to content

Commit

Permalink
[LDA] Add sagemaker_session to training jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Swierczewski committed Nov 28, 2017
1 parent 22f1a35 commit 205c4a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@
" output_path='s3://{}/{}/output'.format(bucket, prefix),\n",
" train_instance_count=1,\n",
" train_instance_type='ml.c4.2xlarge',\n",
" sagemaker_session=session,\n",
")\n",
"\n",
"# set algorithm-specific hyperparameters\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@
" output_path='s3://{}/{}/output'.format(bucket, prefix),\n",
" train_instance_count=1,\n",
" train_instance_type='ml.c4.2xlarge',\n",
" sagemaker_session=session,\n",
")\n",
"\n",
"# set algorithm-specific hyperparameters\n",
Expand Down

0 comments on commit 205c4a6

Please sign in to comment.