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에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python