FeatureSetSpecification Class
Feature Set Specification
Constructor
FeatureSetSpecification(*, path: str | PathLike | None = None, **kwargs: Any)
Parameters
Name | Description |
---|---|
path
Required
|
Specifies the feature set spec path to file. Defaults to None. |
kwargs
Required
|
A dictionary of additional configuration parameters. |
path
Required
|
Specifies the spec path. |
Keyword-Only Parameters
Name | Description |
---|---|
path
Required
|
|
Examples
Using Feature Set Spec to create Feature Set
from azure.ai.ml.entities import FeatureSet, FeatureSetSpecification
transaction_fset_config = FeatureSet(
name="transactions",
version="1",
description="7-day and 3-day rolling aggregation of transactions featureset",
entities=["azureml:account:1"],
stage="Development",
specification=FeatureSetSpecification(path="../azure-ai-ml/tests/test_configs/feature_set/code_sample/"),
tags={"data_type": "nonPII"},
)
feature_set_poller = featurestore_client.feature_sets.begin_create_or_update(transaction_fset_config)
print(feature_set_poller.result())
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python