Skip to content

adding an example for Linear Learner regression use case #1279

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

Closed
wants to merge 1 commit into from
Closed

adding an example for Linear Learner regression use case #1279

wants to merge 1 commit into from

Conversation

eng-moataz
Copy link

Issue #, if available:

Description of changes:
This is a Jupyter notebook to explain how to use Amazon SageMaker Linear Learner algorithm to solve regression use case using abalone data-set. It also demonstrate how we can use the algorithm with input files of csv format.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

Review Jupyter notebook visual diffs & provide feedback on notebooks.


Powered by ReviewNB

@paul-cb
Copy link
Contributor

paul-cb commented Oct 12, 2020

Thanks @eng-moataz!
After running this notebook using the Python 3 (Data Science) Kernel, I get the following error on the cell [6]


---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-6-5772296d51b7> in <module>
      8 
      9 #genrating the session.s3_input() format for fit() accepted by the sdk
---> 10 train_data = sagemaker.session.s3_input(s3_train_data, distribution='FullyReplicated', 
     11                         content_type='text/csv', s3_data_type='S3Prefix',record_wrapping=None,compression=None)
     12 validation_data = sagemaker.session.s3_input(s3_validation_data, distribution='FullyReplicated', 

AttributeError: module 'sagemaker.session' has no attribute 's3_input'

@paul-cb paul-cb changed the title adding an exmaple for Linear Learner regression use case adding an example for Linear Learner regression use case Oct 12, 2020
@aaronmarkham aaronmarkham requested a review from paul-cb October 13, 2020 14:54
@eng-moataz
Copy link
Author

eng-moataz commented Oct 14, 2020

I created this pull request instead as this one is obsolete now and I used sagemaker sdk version 2 which will resolve this issue

@paul-cb
Copy link
Contributor

paul-cb commented Oct 20, 2020

Closing this PR because this one replaces it: #1622

@paul-cb paul-cb closed this Oct 20, 2020
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.

3 participants