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_guides/fs/feature_view/helper-columns.md
+16-24
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,20 @@ Hopsworks Feature Store provides a functionality to define two types of helper c
10
10
to the original column name when defining helper column list.
11
11
12
12
## Inference Helper columns
13
-
`inference_helper_columns` are a list of feature names that are not used for training the model itself but are used for extra information during online or batch inference.
14
-
For example computing [on-demand feature](../../../concepts/fs/feature_group/on_demand_feature.md) like distance between previous and current place of transaction `loc_delta_t_minus_1` in credit card fraud detection system.
15
-
Feature `loc_delta_t_minus_1` will be computed using previous transaction coordinates `longitude` and `latitude` that needs to fetched from the feature store and compared to the new transaction coordinates that arrives at inference application.
16
-
In this use case `longitude` and `latitude` are `inference_helper_columns`. They are not used for training but are necessary for computing [on-demand feature](../../../concepts/fs/feature_group/on_demand_feature.md)`loc_delta_t_minus_1`.
13
+
`inference_helper_columns` are a list of feature names that are not used for training the model itself but are used for extra information during online or batch inference.
14
+
For example, computing an [on-demand feature](../../../concepts/fs/feature_group/on_demand_feature.md) such as `days_valid` (days left that a credit card is valid at the time of the transaction)
15
+
in a credit card fraud detection system. The feature `days_valid` will be computed using the credit card expiry date that needs to be fetched from the feature store and compared to the transaction
16
+
date that the transaction is performed on (`days_valid` = `expiry_date` - `current_date`). In this use case `expiry_date` is an inference helper column. It is not used for training but is necessary
17
+
for computing the [on-demand feature](../../../concepts/fs/feature_group/on_demand_feature.md)`days_valid` feature.
18
+
17
19
18
20
=== "Python"
19
21
20
22
!!! example "Define inference columns for feature views."
0 commit comments