Skip to content

Commit ccfd04b

Browse files
authored
Merge pull request #218313 from sdgilley/sdg-hierarchical-labels
add hierarchical labels
2 parents 6e618f6 + 2cd63e5 commit ccfd04b

File tree

8 files changed

+17
-7
lines changed

8 files changed

+17
-7
lines changed

articles/machine-learning/how-to-create-image-labeling-projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ View and change details of your project. In this tab you can:
207207

208208
[!INCLUDE [access](../../includes/machine-learning-data-labeling-access.md)]
209209

210-
## Add new label class to a project
210+
## Add new labels to a project
211211

212212
[!INCLUDE [add-label](../../includes/machine-learning-data-labeling-add-label.md)]
213213

articles/machine-learning/how-to-create-text-labeling-projects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ To directly upload your data:
114114
> [!NOTE]
115115
> Incremental refresh is available for projects that use tabular (.csv or .tsv) dataset input. However, only new tabular files are added. Changes to existing tabular files will not be recognized from the refresh.
116116
117-
## Specify label classes
117+
## Specify label categories
118118

119119
[!INCLUDE [classes](../../includes/machine-learning-data-labeling-classes.md)]
120120

@@ -193,7 +193,7 @@ View and change details of your project. In this tab you can:
193193

194194
[!INCLUDE [access](../../includes/machine-learning-data-labeling-access.md)]
195195

196-
## Add new label class to a project
196+
## Add new labels to a project
197197

198198
[!INCLUDE [add-label](../../includes/machine-learning-data-labeling-add-label.md)]
199199

23.1 KB
Loading
36.1 KB
Loading
13.8 KB
Loading
-2.3 KB
Loading

includes/machine-learning-data-labeling-add-label.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Use these steps to add one or more labels to a project:
1313
1. Select the project on the main **Data Labeling** page.
1414
1. At the top right of the page, toggle **Running** to **Paused** to stop labelers from their activity.
1515
1. Select the **Details** tab.
16-
1. In the list on the left, select **Label classes**.
17-
1. At the top of the list, select **+ Add Labels**
16+
1. In the list on the left, select **Label categories**.
17+
1. Modify your labels.
1818
![Add a label](../articles/machine-learning/media/how-to-create-labeling-projects/add-label.png)
1919
1. In the form, add your new label. Then choose how to continue the project. Since you've changed the available labels, you choose how to treat the already labeled data:
2020
* Start over, removing all existing labels. Choose this option if you want to start labeling from the beginning with the new full set of labels.

includes/machine-learning-data-labeling-classes.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ ms.date: 09/23/2021
66
ms.author: sdgilley
77
---
88

9-
On the **Label classes** page, specify the set of classes to categorize your data. Your labelers' accuracy and speed are affected by their ability to choose among the classes. For instance, instead of spelling out the full genus and species for plants or animals, use a field code or abbreviate the genus.
9+
On the **Label categories** page, specify the set of classes to categorize your data. Your labelers' accuracy and speed are affected by their ability to choose among the classes. For instance, instead of spelling out the full genus and species for plants or animals, use a field code or abbreviate the genus.
1010

11-
Enter one label per row. Use the **+** button to add a new row. If you have more than three or four labels but fewer than 10, you may want to prefix the names with numbers ("1: ", "2: ") so the labelers can use the number keys to speed their work.
11+
You can use either a flat list or create groups of labels.
12+
13+
* To create a flat list, select **+ Add label category** to create each label.
14+
15+
:::image type="content" source="../articles/machine-learning/media/how-to-create-labeling-projects/add-flat-labels.png" alt-text="Screenshot: Add flat structure for labels.":::
16+
17+
* To create labels in different groups, select **+ Add label category** to create the top level labels. Then select the **+** under each top level to create the next level of labels for that category. You can create up to six levels for any grouping.
18+
19+
:::image type="content" source="../articles/machine-learning/media/how-to-create-labeling-projects/add-label-groups.png" alt-text="Screenshot: Add groups of labels.":::
20+
21+
Labels at any level may be selected during the tagging process. For example, the labels `Animal`, `Animal/Cat`, `Animal/Dog`, `Color`, `Color/Black`, `Color/White`, and `Color/Silver` are all available choices for a label. In a multi-label project, there is no requirement to pick one of each category. If that is your intent, make sure to add this information in your instructions.

0 commit comments

Comments
 (0)