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
# Feature retrieval specification and usage in training and inference
16
16
17
17
This article describes the feature retrieval specification, and how to use a feature retrieval specification in training and inference.
18
18
19
-
A feature retrieval specification is an artifact that defines a list of features to use in model input. The features in a feature retrieval specification:
19
+
A feature retrieval specification is an artifact that defines a list of features to use in model input. In a feature retrieval specification, the features:
20
20
21
21
- must exist in a feature set registered in a feature store
22
22
- can exist in multiple feature sets and multiple feature stores
23
23
24
-
The feature retrieval specification is used at the time of model training and the time of model inference. These flow steps involve the specification:
24
+
The feature retrieval specification is used at the time of model training and at the time of model inference. These flow steps involve the specification:
25
25
26
26
1. Select features, and generate a feature retrieval specification
27
27
1. Use that specification and observation data to generate training data resource with a [point-in-time join](./offline-retrieval-point-in-time-join-concepts.md)
Find detailed examples in the **2.Experiment-train-models-using-features.ipynb** notebook, hosted at [this resource](https://github.com/Azure/azureml-examples/tree/main/sdk/python/featurestore_sample/notebooks/sdk_only).
72
+
The **2.Experiment-train-models-using-features.ipynb** notebook, hosted at [this resource](https://github.com/Azure/azureml-examples/tree/main/sdk/python/featurestore_sample/notebooks/sdk_only), has detailed examples.
73
73
74
74
The function generates a YAML file artifact, which has a structure similar to the structure in this example:
The second option sets the feature retrieval specification as an input to the built-in feature retrieval (pipeline) component. It combines that feature retrieval specification with other inputs - for example, the observation data set. It then submits an Azure Machine Learning pipeline (Spark) job, to generate the training data set as output. This option is recommended to make the training pipeline ready for production, for repeated runs. For more details about the built-in feature retrieval (pipeline) component, visit the [feature retrieval component](#built-in-feature-retrieval-component) resource.
125
+
The second option sets the feature retrieval specification as an input to the built-in feature retrieval (pipeline) component. It combines that feature retrieval specification with other inputs - for example, the observation data set. It then submits an Azure Machine Learning pipeline (Spark) job, to generate the training data set as output. This option is recommended as a way to make the training pipeline ready for production, for repeated runs. Visit the [feature retrieval component](#built-in-feature-retrieval-component) resource for more information about the built-in feature retrieval (pipeline) components.
126
126
127
127
## Package a feature retrieval specification with model artifact
0 commit comments