Skip to content

Fixed: Typos of sagemarker to sagemaker #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"\n",
"### Fit\n",
"\n",
"`mars.R` creates functions to fit and serve our model. The algorithm we've chosen to use is [Multivariate Adaptive Regression Splines](https://en.wikipedia.org/wiki/Multivariate_adaptive_regression_splines). This is a suitable example as it's a unique and powerful algorithm, but isn't as broadly used as Amazon SageMarker algorithms, and it isn't available in Python's scikit-learn library. R's repository of packages is filled with algorithms that share these same criteria. "
"`mars.R` creates functions to fit and serve our model. The algorithm we've chosen to use is [Multivariate Adaptive Regression Splines](https://en.wikipedia.org/wiki/Multivariate_adaptive_regression_splines). This is a suitable example as it's a unique and powerful algorithm, but isn't as broadly used as Amazon SageMaker algorithms, and it isn't available in Python's scikit-learn library. R's repository of packages is filled with algorithms that share these same criteria. "
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"region = boto3.Session().region_name\n",
"\n",
"bucket='<your_s3_bucket_name_here>' # put your s3 bucket name here, and create s3 bucket\n",
"prefix = 'sagemarker/redshift'\n",
"prefix = 'sagemaker/redshift'\n",
"# customize to your bucket where you have stored the data\n",
"\n",
"credfile = 'redshift_creds_template.json.nogit'"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"region = boto3.Session().region_name\n",
"\n",
"bucket='<bucket-name>' # put your s3 bucket name here, and create s3 bucket\n",
"prefix = 'sagemarker/xgboost-multiclass-classification'\n",
"prefix = 'sagemaker/xgboost-multiclass-classification'\n",
"# customize to your bucket where you have stored the data\n",
"bucket_path = 'https://s3-{}.amazonaws.com/{}'.format(region,bucket)"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@
"\n",
"An important point here is that because of the `np.round()` function above we are using a simple threshold (or cutoff) of 0.5. Our predictions from `xgboost` come out as continuous values between 0 and 1 and we force them into the binary classes that we began with. However, because a customer that churns is expected to cost the company more than proactively trying to retain a customer who we think might churn, we should consider adjusting this cutoff. That will almost certainly increase the number of false positives, but it can also be expected to increase the number of true positives and reduce the number of false negatives.\n",
"\n",
"To get a rought intuition here, let's look at the continuous values of our predictions."
"To get a rough intuition here, let's look at the continuous values of our predictions."
]
},
{
Expand Down