Skip to content

Commit 191f808

Browse files
committed
address final PR reviewer comments
1 parent 081fe17 commit 191f808

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

articles/cognitive-services/Anomaly-Detector/How-to/prepare-data.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ First you need to prepare your data for training and inference.
2525

2626
Multivariate Anomaly Detection supports two types of data schemas: **OneTable** and **MultiTable**. You could use either of these schemas to prepare your data and upload to Storage Account for further training and inference.
2727

28-
29-
> [!div class="mx-imgBorder"]
30-
> ![Diagram of two data schemas with three steps: data preparation, training, inference](../media/prepare-data/two-schemas.png)
28+
:::image type="content" source="./media/prepare-data/two-schemas.png" alt-text="Diagram of two data schemas with three steps: data preparation, training, inference." lightbox="./media/prepare-data/two-schemas.png":::
3129

3230
#### Schema 1: OneTable
3331
**OneTable** is one CSV file that contains all the variables that you want to train a Multivariate Anomaly Detection model and one `timestamp` column. Download [One Table sample data](https://mvaddataset.blob.core.windows.net/public-sample-data/sample_data_5_3000.csv)
@@ -37,8 +35,7 @@ Multivariate Anomaly Detection supports two types of data schemas: **OneTable**
3735

3836
***Example:***
3937

40-
> [!div class="mx-imgBorder"]
41-
> ![Diagrma of one table schema](../media/prepare-data/one-table-schema.png)
38+
![Diagram of one table schema.](../media/prepare-data/onetable-schema.png)
4239

4340
#### Schema 2: MultiTable
4441

@@ -53,7 +50,7 @@ Multivariate Anomaly Detection supports two types of data schemas: **OneTable**
5350
***Example:***
5451

5552
> [!div class="mx-imgBorder"]
56-
> ![Diagram of multi table schema](../media/prepare-data/multi-table.png)
53+
> ![Diagram of multi table schema.](../media/prepare-data/multitable.png)
5754
5855
> [!NOTE]
5956
> If your timestamps have hours, minutes, and/or seconds, ensure that they're properly rounded up before calling the APIs.
@@ -67,7 +64,7 @@ Once you prepare your data with either of the two schemas above, you could uploa
6764
1. [Create a Storage Account](https://portal.azure.com/#create/Microsoft.StorageAccount-ARM), fill out the fields, which are similar to the steps when creating Anomaly Detector resource.
6865

6966
> [!div class="mx-imgBorder"]
70-
> ![Screenshot of Azure Storage account setup page](../media/prepare-data/create-blob.png)
67+
> ![Screenshot of Azure Storage account setup page.](../media/prepare-data/create-blob.png)
7168
7269
2. Select **Container** to the left in your Storage Account resource and select **+Container** to create one that will store your data.
7370

@@ -80,7 +77,7 @@ Once you prepare your data with either of the two schemas above, you could uploa
8077
Once your data is uploaded, select your CSV file and copy the **blob URL** through the small blue button. (Please paste the URL somewhere convenient for further steps.)
8178

8279
> [!div class="mx-imgBorder"]
83-
> ![Screenshot of copy blob url for one table](../media/prepare-data/onetable-copyurl.png)
80+
> ![Screenshot of copy blob url for one table.](../media/prepare-data/onetable-copy-url.png)
8481
8582
**Upload *MultiTable* data**
8683

@@ -89,17 +86,18 @@ Once you prepare your data with either of the two schemas above, you could uploa
8986
Once your data is uploaded, go into the folder, and select one CSV file in the folder, copy the **blob URL** and only keep the part before the name of this CSV file, so the final blob URL should ***link to the folder***. (Please paste the URL somewhere convenient for further steps.)
9087

9188
> [!div class="mx-imgBorder"]
92-
> ![Screenshot of copy blob url for multi table](../media/prepare-data/multitable-copyurl.png)
89+
> ![Screenshot of copy blob url for multi table.](../media/prepare-data/multitable-copy-url.png)
9390
9491
4. Grant Anomaly Detector access to read the data in your Storage Account.
9592
* In your container, select **Access Control(IAM)** to the left, select **+ Add** to **Add role assignment**. If you see the add role assignment is disabled, please contact your Storage Account owner to add Owner role to your Container.
9693

9794
> [!div class="mx-imgBorder"]
98-
> ![Screenshot of set access control UI](../media/prepare-data/add-role-assignment.png)
95+
> ![Screenshot of set access control UI.](../media/prepare-data/add-role-assignment.png)
9996
10097
* Search role of **Storage Blob Data Reader**, **click on it** and then select **Next**. Technically, the roles highlighted below and the *Owner* role all should work.
10198

102-
![Screenshot of add role assignment with reader roles selected](../media/prepare-data/add-reader-role.png)
99+
> [!div class="mx-imgBorder"]
100+
> ![Screenshot of add role assignment with reader roles selected.](../media/prepare-data/add-reader-role.png)
103101
104102
* Select assign access to **Managed identity**, and **Select Members**, then choose the anomaly detector resource that you created earlier, then select **Review + assign**.
105103

709 KB
Loading

0 commit comments

Comments
 (0)