File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
sagemaker-python-sdk/scikit_learn_randomforest Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 232
232
"source" : [
233
233
" ! python script.py --n-estimators 100 \\\n " ,
234
234
" --min-samples-leaf 2 \\\n " ,
235
- " --model-dir /home/ec2-user/SageMaker \\\n " ,
236
- " --train /home/ec2-user/SageMaker \\\n " ,
237
- " --test /home/ec2-user/SageMaker \\\n " ,
235
+ " --model-dir ./ \\\n " ,
236
+ " --train ./ \\\n " ,
237
+ " --test ./ \\\n " ,
238
238
" --features 'CRIM ZN INDUS CHAS NOX RM AGE DIS RAD TAX PTRATIO B LSTAT' \\\n " ,
239
239
" --target target"
240
240
]
492
492
"metadata" : {},
493
493
"outputs" : [],
494
494
"source" : [
495
+ " sklearn_estimator.latest_training_job.wait(logs='None')\n " ,
495
496
" artifact = sm_boto3.describe_training_job(\n " ,
496
497
" TrainingJobName=sklearn_estimator.latest_training_job.name)['ModelArtifacts']['S3ModelArtifacts']\n " ,
497
498
" \n " ,
You can’t perform that action at this time.
0 commit comments