feature_importances
Creates, updates, deletes, gets or lists a feature_importances resource.
Overview
| Name | feature_importances |
| Type | Resource |
| Id | azure.ai_personalizer.feature_importances |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_feature_importance | insert | feature_importance_id, endpoint | Create Feature Importance. Submit a new Feature Importance job. | |
delete_feature_importance | delete | feature_importance_id, endpoint | Feature Importance. Delete the Feature Importance associated with the Id. | |
list_feature_importances | exec | endpoint | top, skip | All Feature Importances. List of all Feature Importances. |
get_feature_importance | exec | feature_importance_id, endpoint | Feature Importance. Get the Feature Importance associated with the Id. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client Endpoint parameter. (default: ) |
feature_importance_id | string | Id of the Feature Importance. Required. |
skip | integer | An offset into the collection of the first resource to be returned. Defaults to 0. Default value is 0. |
top | integer | The maximum number of resources to return from the collection. Defaults to maximum value of integer. Default value is None. |
INSERT examples
- create_feature_importance
- Manifest
Create Feature Importance. Submit a new Feature Importance job.
INSERT INTO azure.ai_personalizer.feature_importances (
feature_importance_id,
endpoint
)
SELECT
'{{ feature_importance_id }}',
'{{ endpoint }}'
;
# Description fields are for documentation purposes
- name: feature_importances
props:
- name: feature_importance_id
value: "{{ feature_importance_id }}"
description: Required parameter for the feature_importances resource.
- name: endpoint
value: "{{ endpoint }}"
description: Required parameter for the feature_importances resource.
DELETE examples
- delete_feature_importance
Feature Importance. Delete the Feature Importance associated with the Id.
DELETE FROM azure.ai_personalizer.feature_importances
WHERE feature_importance_id = '{{ feature_importance_id }}' --required
AND endpoint = '{{ endpoint }}' --required
;
Lifecycle Methods
- list_feature_importances
- get_feature_importance
All Feature Importances. List of all Feature Importances.
EXEC azure.ai_personalizer.feature_importances.list_feature_importances
@endpoint='{{ endpoint }}' --required,
@top='{{ top }}',
@skip='{{ skip }}'
;
Feature Importance. Get the Feature Importance associated with the Id.
EXEC azure.ai_personalizer.feature_importances.get_feature_importance
@feature_importance_id='{{ feature_importance_id }}' --required,
@endpoint='{{ endpoint }}' --required
;