Skip to content

Allow Model and Transformer to use a different role from the Estimator #308

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 5 commits into from
Jul 20, 2018

Conversation

laurenyu
Copy link
Contributor

Issue #, if available:
#303

Description of changes:
This change allows for a different role to be specified when creating a Model or Transformer from an Estimator. Still defaults to the estimator's role if nothing's specified.

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have updated the changelog with a description of my changes (if appropriate)
  • I have updated any necessary documentation (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-io
Copy link

codecov-io commented Jul 19, 2018

Codecov Report

Merging #308 into master will decrease coverage by 0.21%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #308      +/-   ##
==========================================
- Coverage   92.93%   92.71%   -0.22%     
==========================================
  Files          50       50              
  Lines        3466     3472       +6     
==========================================
- Hits         3221     3219       -2     
- Misses        245      253       +8
Impacted Files Coverage Δ
src/sagemaker/chainer/estimator.py 100% <100%> (ø) ⬆️
src/sagemaker/mxnet/estimator.py 100% <100%> (ø) ⬆️
src/sagemaker/tensorflow/estimator.py 93.38% <100%> (+0.04%) ⬆️
src/sagemaker/pytorch/estimator.py 100% <100%> (ø) ⬆️
src/sagemaker/estimator.py 88.8% <100%> (+0.09%) ⬆️
src/sagemaker/local/image.py 87.09% <0%> (-2.35%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b943baa...73b2775. Read the comment docs.

@ChoiByungWook ChoiByungWook self-requested a review July 19, 2018 22:03
ChoiByungWook
ChoiByungWook previously approved these changes Jul 19, 2018
Copy link
Contributor

@ChoiByungWook ChoiByungWook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@andremoeller andremoeller merged commit 3253466 into aws:master Jul 20, 2018
@laurenyu laurenyu deleted the batch-transform-role branch July 20, 2018 23:31
apacker pushed a commit to apacker/sagemaker-python-sdk that referenced this pull request Nov 15, 2018
Remove p3 usage from the notebooks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants