You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-responsible-ai-insights-sdk-cli.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.topic: how-to
9
9
ms.reviewer: lagayhar
10
10
ms.author: mithigpe
11
11
author: minthigpen
12
-
ms.date: 11/09/2022
12
+
ms.date: 03/29/2024
13
13
ms.custom: responsible-ml, devx-track-python
14
14
---
15
15
@@ -45,7 +45,7 @@ In the following sections are specifications of the Responsible AI components an
45
45
46
46
### Limitations
47
47
48
-
The current set of components have a number of limitations on their use:
48
+
The current set of components have many limitations on their use:
49
49
50
50
- All models must be registered in Azure Machine Learning in MLflow format with a sklearn (scikit-learn) flavor.
51
51
- The models must be loadable in the component environment.
@@ -76,13 +76,15 @@ The constructor component also accepts the following parameters:
76
76
| Parameter name | Description | Type |
77
77
|---|---|---|
78
78
|`title`| Brief description of the dashboard. | String |
79
-
|`task_type`| Specifies whether the model is for classificationor regression. | String, `classification`or `regression`|
79
+
|`task_type`| Specifies whether the model is for classification, regression, or forecasting. | String, `classification`, `regression`, or `forecasting`|
80
80
|`target_column_name`| The name of the column in the input datasets, which the model is trying to predict. | String |
81
81
|`maximum_rows_for_test_dataset`| The maximum number of rows allowed in the test dataset, for performance reasons. | Integer, defaults to 5,000 |
82
82
|`categorical_column_names`| The columns in the datasets, which represent categorical data. | Optional list of strings<sup>1</sup> |
83
83
|`classes`| The full list of class labels in the training dataset. | Optional list of strings<sup>1</sup> |
84
+
|`feature_metadata`| Specifies additional information the dashboard might need depending on task type. For forecasting, this includes specifying which column is the `datetime` column and which column is the `time_series_id` column. For vision, this might include mean pixel value or location data of an image.| Optional list of strings<sup>1</sup> |
85
+
|`use_model_dependency`| Specifies if the model requires a separate docker container to be served in due to conflicting dependencies with the RAI dashboard. For forecasting, this must be enabled. Typically for other scenarios this isn't enabled. | Boolean |
84
86
85
-
<sup>1</sup> The lists should be supplied as a single JSON-encoded string for `categorical_column_names` and `classes` inputs.
87
+
<sup>1</sup> The lists should be supplied as a single JSON-encoded string for `categorical_column_names`, `classes`, `feature_metadata` inputs.
86
88
87
89
The constructor component has a single output named `rai_insights_dashboard`. This is an empty dashboard, which the individual tool components operate on. All the results are assembled by the `Gather RAI Insights dashboard` component at the end.
0 commit comments