You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user-guide/feature-retrieval.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ Historical feature retrieval can be done through either the Feast SDK or directl
55
55
features =self._features + [self._target]
56
56
57
57
# Retrieve training dataset from Feast. The "entity_df" is a dataframe that contains
58
-
# timestamps and entity keys. In this case it is a dataframe with two columns.
58
+
# timestamps and entity keys. In this case, it is a dataframe with two columns.
59
59
# One timestamp column, and one customer id column
60
60
dataset = client.get_batch_features(
61
61
feature_refs=features,
@@ -71,7 +71,7 @@ In the above example, Feast does a point in time correct query from a single fea
71
71
72
72
This is called a point in time correct join.
73
73
74
-
Feast allows users to retrieve features from any feature sets and join them to gether in a single response dataset. The only requirement is that the user provide the correct entities in order to look up the features.
74
+
Feast allows users to retrieve features from any feature sets and join them together in a single response dataset. The only requirement is that the user provides the correct entities in order to look up the features.
75
75
76
76
### **Point-in-time-correct Join**
77
77
@@ -81,14 +81,15 @@ Below is another example of how a point-in-time-correct join works. We have two
Typically the `input 1` DataFrame would be provided by the user, and the `input 2` DataFrame would already be ingested into Feast. In order to join these two, the user would call Feast as follows:
84
+
Typically the `input 1` DataFrame would be provided by the user, and the `input 2` DataFrame would already be ingested into Feast. To join these two, the user would call Feast as follows:
85
85
86
86
```python
87
87
# Feature references
88
88
features = [
89
89
'conv_rate',
90
90
'acc_rate',
91
91
'avg_daily_trips',
92
+
'trip_completed'
92
93
]
93
94
94
95
@@ -124,5 +125,5 @@ data = client.get_online_features(
124
125
)
125
126
```
126
127
127
-
Online serving with Feast is built to be very low latency. Feast Serving provides a [gRPC API](https://api.docs.feast.dev/grpc/feast.serving.pb.html) that is backed by [Redis](https://redis.io/). We also provide support for [Python](https://api.docs.feast.dev/python/), [Go](https://godoc.org/github.com/gojek/feast/sdk/go), and Java clients.
128
+
Online serving with Feast is built to be very low latency. Feast Serving provides a [gRPC API](https://api.docs.feast.dev/grpc/feast.serving.pb.html) that is backed by [Redis](https://redis.io/). We also provide support for [Python](https://api.docs.feast.dev/python/), [Go](https://godoc.org/github.com/gojek/feast/sdk/go), and Java clients.
0 commit comments