-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Feature/new fg utils #3476
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
Feature/new fg utils #3476
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JoseJuan98 Can you please update description with what's happening in this PR
I updated it, please let me know if something is not clear :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/bot run all
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JoseJuan98 Can you please address unit-test and other test failures.
The failure are related to styling. you can run following command to locally to fix it
tox -e flake8,pylint,docstyle,black-check,twine
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
@navinsoni I made all changes in the recents pushes, now all should be fixed ______________________________________________________ summary _______________________________________________________
flake8: commands succeeded
pylint: commands succeeded
docstyle: commands succeeded
black-check: commands succeeded
twine: commands succeeded
congratulations :) |
@JoseJuan98 Can you please fix conflicts. |
@navinsoni merged, conflicts solved and the tox tests passed |
bae3b8b
to
d000bdc
Compare
@navinsoni merged and solved conflicts with the most recent master |
8fbc1c6
to
e6b8b15
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed code style and docstyle
Codecov Report
@@ Coverage Diff @@
## master #3476 +/- ##
==========================================
+ Coverage 89.17% 89.55% +0.38%
==========================================
Files 204 960 +756
Lines 18979 88796 +69817
==========================================
+ Hits 16924 79523 +62599
- Misses 2055 9273 +7218 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Hi @navinsoni & @trajanikant, could you please give me more information about the status of this PR? Is there anything else I could do to resolve the changes requested by you? The sphinx build was failing, I have fixed it, now all tox tests environments suggested by you and the documentation are passing. Thank you on advance :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/bot run all
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
* build: reset soft * docs(docs): update docs with USE_SHORT_LIVED_CREDENTIALS bullet * style(format): fix rst code format
* updates docstrings for datasetbuilder members * feature store user guide updates * update to chain code snippet, updates api ref link * update description to be before code * removes trailing whitespace * remove whitespace from user guide
Co-authored-by: Raymond Liu <[email protected]>
…re/new_fg_utils # Conflicts: # .pylintrc # CHANGELOG.md # VERSION # src/sagemaker/feature_group_utils.py # src/sagemaker/feature_store/feature_group.py # src/sagemaker/image_uri_config/tensorflow.json # src/sagemaker/session.py # src/sagemaker/tuner.py # src/sagemaker/utils.py # tests/conftest.py # tests/integ/test_feature_store.py # tests/unit/sagemaker/feature_store/test_feature_store.py
Hi @navinsoni , I tried to rebase my changes to master but anyways it rejected the push after the rebase and asked me to merge the branches before pushing, so it didn't solve it. The only file affected by my changes are:
The rest of the file were added by the merge file. If it doesn't work I am afraid I will have to start a new PR by rebasing to master |
@JoseJuan98 you will have to rebase the changes and force push it on your repo. It will be error prone to review this PR without that change. |
It has been very tiring and very error prompt to do that, so I decided to create a new PR using rebase, so now it only appears the new commits and the changes, please check link. Shall I close this PR and continue from the other one? |
@JoseJuan98 Thanks for creating new PR, closing this one. |
Issue #, if available:
Description of changes: added a few methods to automate processes to work with Feature Groups, one to prepare a FG before creation and another to extract directly a dataframe from a FG faster.
Also, I extended the method
FeatureGroup.as_dataframe()
to accept kwargs to specify some parameters in thepandas.read_csv
use to create the dataframe as I encounter some problems with encoding and dtypes that could be fix specifyinglow_memory=False
and the encoding used.Testing done:
Local tests with tox following the contribution guide.
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.General
Tests
unique_name_from_base
to create resource names in integ tests (if appropriate)By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.