FeatureSetSpecification Class
Feature Set Specification
- Inheritance
-
azure.ai.ml.entities._mixins.RestTranslatableMixinFeatureSetSpecification
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())
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Python