-
Notifications
You must be signed in to change notification settings - Fork 244
/
azure.ai.ml.entities.FeatureStoreSettings.yml
48 lines (48 loc) · 2.49 KB
/
azure.ai.ml.entities.FeatureStoreSettings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
### YamlMime:PythonClass
uid: azure.ai.ml.entities.FeatureStoreSettings
name: FeatureStoreSettings
fullName: azure.ai.ml.entities.FeatureStoreSettings
module: azure.ai.ml.entities
inheritances:
- azure.ai.ml.entities._mixins.RestTranslatableMixin
summary: Feature Store Settings
constructor:
syntax: 'FeatureStoreSettings(*, compute_runtime: ComputeRuntime | None = None,
offline_store_connection_name: str | None = None, online_store_connection_name:
str | None = None)'
parameters:
- name: compute_runtime
description: The spark compute runtime settings. defaults to None.
isRequired: true
types:
- <xref:typing.Optional>[<xref:azure.ai.ml.entities.ComputeRuntime>]
- name: offline_store_connection_name
description: The offline store connection name. Defaults to None.
isRequired: true
types:
- <xref:typing.Optional>[<xref:str>]
- name: online_store_connection_name
description: The online store connection name. Defaults to None.
isRequired: true
types:
- <xref:typing.Optional>[<xref:str>]
keywordOnlyParameters:
- name: compute_runtime
isRequired: true
- name: offline_store_connection_name
isRequired: true
- name: online_store_connection_name
isRequired: true
examples:
- "Instantiating FeatureStoreSettings<!--[!code-python[Main](les\\ml_samples_featurestore.py\
\ )]-->\n\n<!-- literal_block {\"ids\": [], \"classes\": [], \"names\": [], \"dupnames\"\
: [], \"backrefs\": [], \"source\": \"C:\\\\hostedtoolcache\\\\windows\\\\Python\\\
\\3.11.9\\\\x64\\\\Lib\\\\site-packages\\\\py2docfx\\\\dist_temp\\\\7\\\\azure-ai-ml-1.20.0\\\
\\samples\\\\ml_samples_featurestore.py\", \"xml:space\": \"preserve\", \"force\"\
: false, \"language\": \"python\", \"highlight_args\": {\"linenostart\": 1}, \"\
linenos\": false} -->\n\n````python\n\n from azure.ai.ml.entities import ComputeRuntime,\
\ FeatureStoreSettings\n\n offline_store_target = f\"/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.Storage/storageAccounts/{storage_account_name}/blobServices/default/containers/{storage_file_system_name}\"\
\n\n online_store_target = f\"/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.Cache/Redis/{redis_cache_name}\"\
\n\n FeatureStoreSettings(\n compute_runtime=ComputeRuntime(spark_runtime_version=\"\
3.2.0\"),\n offline_store_connection_name=offline_store_target,\n online_store_connection_name=online_store_target,\n\
\ )\n\n ````\n"