Skip to content

Commit

Permalink
Fix scikit_learn_data_processing_and_model_evaluation.ipynb (aws#3539)
Browse files Browse the repository at this point in the history
* enable optional steps to avoid error being raised in scikit_learn_data_processing_and_model_evaluation.ipynb

* edit markdown

* reformat
  • Loading branch information
atqy authored Aug 16, 2022
1 parent 1c5da89 commit 9ce4ec2
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,14 @@
"from sagemaker.processing import FrameworkProcessor\n",
"\n",
"est_cls = sagemaker.sklearn.estimator.SKLearn\n",
"framework_version_str=\"0.20.0\"\n",
"framework_version_str = \"0.20.0\"\n",
"\n",
"script_processor = FrameworkProcessor(\n",
" role=role,\n",
" instance_count=1,\n",
" instance_type=\"ml.m5.xlarge\",\n",
" estimator_cls=est_cls,\n",
" framework_version=framework_version_str\n",
" framework_version=framework_version_str,\n",
")"
]
},
Expand Down Expand Up @@ -542,8 +542,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"By default optional steps do not run automatically, set `run_optional_steps` to True if you want to \n",
"execute optional steps"
"By default optional steps run automatically, set `run_optional_steps` to False if you don't want to execute optional steps"
]
},
{
Expand All @@ -552,7 +551,7 @@
"metadata": {},
"outputs": [],
"source": [
"run_optional_steps = False"
"run_optional_steps = True"
]
},
{
Expand Down Expand Up @@ -697,9 +696,9 @@
"metadata": {
"instance_type": "ml.t3.medium",
"kernelspec": {
"display_name": "Python 3 (Data Science)",
"display_name": "conda_python3",
"language": "python",
"name": "python3__SAGEMAKER_INTERNAL__arn:aws:sagemaker:us-east-1:081325390199:image/datascience-1.0"
"name": "conda_python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -711,7 +710,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.6.13"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 9ce4ec2

Please sign in to comment.