-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Allow specifying FeatureServices in FeatureStore methods #1691
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
feast-ci-bot
merged 58 commits into
feast-dev:master
from
achals:achal/feature-service-api
Jul 22, 2021
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
f1fd9b8
Allow specifying FeatureServices in FeatureStore methods
achals 27ea33e
format and lint
achals 7ae1ed3
features_refs -> features
achals 6269200
remote type: ignores
achals 8574163
implement applying and persisting feature services into registry
achals dbe2995
Fix integration test references
achals 7efd3c3
Add backwards compatibility
achals 3e54197
More lint
achals 3e6cad3
add integration tests
achals 86a528a
refactor and lint
achals a929aa4
More tests
achals 0368903
Add cli commands
achals 7633674
Update sdk/python/feast/feature_store.py
achals f48542f
Update sdk/python/feast/feature_store.py
achals 42c6a5f
Update sdk/python/feast/feature_store.py
achals f612ab3
Update sdk/python/feast/feature_store.py
achals 8fe06c1
Update tests to use file offline source
achals 7248a4c
Make tests integration and lint
achals 09a651d
Retrieve feature services to avoid stale references
achals 8dc58aa
Fix lint
achals 6f09686
Merge changes from master
achals c656190
Merge master into branch
achals 9540c72
fix tests
achals 4241885
fix import
achals 77ab6c0
fix integ tests
achals 6eac6e8
CR
achals 976293b
format
achals e1f9a07
Fix integ test
achals 52a6507
Fix integ test
achals 8a91fc1
Merge branch 'master' into achal/feature-service-api
achals c457f1e
Rename in comments
achals e3d70a9
Docstrings for Feature Services
achals 545f675
make format
achals a77eb0f
merge from master
achals eaa3a89
format and refactor
achals e3cebc1
docs and updates
achals 8a1534e
Update docs/concepts/feature-service.md
achals 3274a1e
Update sdk/python/feast/feature_service.py
achals 39bf511
Update sdk/python/feast/feature_service.py
achals 2133abc
docs docs docs
achals f6938c0
docs docs
achals d495856
merge from master
achals 1317d08
Fixes after merge
achals ea2210d
Remove dupe
achals 2f0d698
Renames and deletions
achals ac211d2
lint
achals 23c0d80
format and tests
achals 798df64
remove unused imports
achals 81fb228
fix registry
achals 21aa6b6
fix docs
achals a6ecc6d
fix dangling print
achals 54c95ae
make format and lint
achals 2394f0a
list feature servces
achals 2d11ab4
Merge branch 'master' into achal/feature-service-api
achals 1ed9592
Merge from master
achals 2a48ae8
fix tests
achals 0943faf
Remove unused file
achals 03d0ba5
single heading
achals File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Feature Service | ||
|
|
||
| A feature service is an object that represents a logical group of features from one or more [feature views](feature-view.md). | ||
| Feature Services allows features from within a feature view to be used as needed by an ML model. Users can expect to create one feature service per model, allowing for tracking of the features used by models. | ||
|
|
||
| {% tabs %} | ||
| {% tab title="driver\_trips\_feature\_service.py" %} | ||
| ```python | ||
| from driver_ratings_feature_view import driver_ratings_fv | ||
| from driver_trips_feature_view import driver_stats_fv | ||
|
|
||
| driver_stats_fs = FeatureService( | ||
| name="driver_activity", | ||
| features=[driver_stats_fv, driver_ratings_fv[["lifetime_rating"]]] | ||
| ) | ||
| ``` | ||
| {% endtab %} | ||
| {% endtabs %} | ||
|
|
||
| Feature services are used during | ||
|
|
||
| * The generation of training datasets when querying feature views in order to find historical feature values. A single training dataset may consist of features from multiple feature views. | ||
| * Retrieval of features from the online store. The features retrieved from the online store may also belong to multiple feature views. | ||
|
|
||
| {% hint style="info" %} | ||
| Applying a feature service does not result in an actual service being deployed. | ||
| {% endhint %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Maybe we can list the list of features for each feature service in a table? Currently it seems like we only list the feature service names
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.
Sure - something like
[view_name:feature_name, ...]?