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/cognitive-services/LUIS/luis-concept-feature.md
+18-17Lines changed: 18 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,40 +12,40 @@ ms.topic: conceptual
12
12
ms.date: 11/03/2019
13
13
ms.author: diberry
14
14
---
15
-
# Machine-learned features
15
+
# Machine-learned features
16
16
17
17
In machine learning, a _feature_ is a distinguishing trait or attribute of data that your system observes & learns through. In Language Understanding (LUIS), a feature describes and explains what is significant about your intents and entities.
18
18
19
-
In the [preview LUIS portal](https://preview.luis.ai), features are _descriptors_ because they are used to _describe_ the intent or entity.
19
+
In the [preview LUIS portal](https://preview.luis.ai), features are _descriptors_ because they are used to _describe_ the intent or entity.
20
20
21
21
## Features (_descriptors_) in Language Understanding
22
22
23
-
Features, also known as descriptors, describe clues to help Language Understanding identify the example utterances. Features include:
23
+
Features, also known as descriptors, describe clues to help Language Understanding identify the example utterances. Features include:
24
24
25
25
* Phrase list as a feature to intents or entities
26
26
* Entities as features to intents or entities
27
27
28
-
Features should be considered as a necessary part of your schema for model decomposition.
28
+
Features should be considered as a necessary part of your schema for model decomposition.
29
29
30
30
## What is a phrase list
31
31
32
-
A phrase list is a list of words, phrases, numbers or other characters that help identify the concept you are trying to identify. The list is case-insensitive.
32
+
A phrase list is a list of words, phrases, numbers or other characters that help identify the concept you are trying to identify. The list is case-insensitive.
33
33
34
34
## When to use a phrase list
35
35
36
-
With a phrase list, LUIS considers context and generalizes to identify items that are similar to, but not an exact text match. If you need your LUIS app to be able to generalize and identify new items, use a phrase list.
36
+
With a phrase list, LUIS considers context and generalizes to identify items that are similar to, but not an exact text match. If you need your LUIS app to be able to generalize and identify new items, use a phrase list.
37
37
38
-
When you want to be able to recognize new instances, like a meeting scheduler that should recognize the names of new contacts, or an inventory app that should recognize new products, start with a machine-learned entity. Then create a phrase list that helps LUIS find words with similar meaning. This phrase list guides LUIS to recognize examples by adding additional significance to the value of those words.
38
+
When you want to be able to recognize new instances, like a meeting scheduler that should recognize the names of new contacts, or an inventory app that should recognize new products, start with a machine-learned entity. Then create a phrase list that helps LUIS find words with similar meaning. This phrase list guides LUIS to recognize examples by adding additional significance to the value of those words.
39
39
40
-
Phrase lists are like domain-specific vocabulary that help with enhancing the quality of understanding of both intents and entities.
40
+
Phrase lists are like domain-specific vocabulary that help with enhancing the quality of understanding of both intents and entities.
41
41
42
42
## Considerations when using a phrase list
43
43
44
-
A phrase list is applied, by default, to all models in the app. This will work for phrase lists that can cross all intents and entities. For decomposability, you should apply a phrase list to only the models it is relevant to.
44
+
A phrase list is applied, by default, to all models in the app. This will work for phrase lists that can cross all intents and entities. For decomposability, you should apply a phrase list to only the models it is relevant to.
45
45
46
-
If you create a phrase list (created globally by default), then later apply it as a descriptor (feature) to a specific model, it is removed from the other models. This removal adds relevance to the phrase list for the model it is applied to, helping improve the accuracy it provides in the model.
46
+
If you create a phrase list (created globally by default), then later apply it as a descriptor (feature) to a specific model, it is removed from the other models. This removal adds relevance to the phrase list for the model it is applied to, helping improve the accuracy it provides in the model.
47
47
48
-
The `enabledForAllModels` flag controls this model scope in the API.
48
+
The `enabledForAllModels` flag controls this model scope in the API.
49
49
50
50
<aname="how-to-use-phrase-lists"></a>
51
51
@@ -60,29 +60,30 @@ The `enabledForAllModels` flag controls this model scope in the API.
60
60
* language that is from another language but frequently used in your app
61
61
* key words and phrases in your example utterances
62
62
63
-
Do **not** add every possible word or phrase. Instead, add a few words or phrases at a time, then retrain and publish. As the list grows over time, you may find some terms have many forms (synonyms). Break these out into another list.
63
+
Do **not** add every possible word or phrase. Instead, add a few words or phrases at a time, then retrain and publish. As the list grows over time, you may find some terms have many forms (synonyms). Break these out into another list.
An entity can be added as a feature at the intent or the entity level.
69
+
An entity can be added as a feature at the intent or the entity level.
70
70
71
71
### Entity as a feature to an intent
72
72
73
73
Add an entity as a descriptor (feature) to an intent when the detection of that entity is significant for the intent.
74
74
75
-
For example, if the intent is for booking a flight and the entity is ticket information (such as the number of seats, origin, and destination), then finding the ticket information entity should add weight to the prediction of the book flight intent.
75
+
For example, if the intent is for booking a flight and the entity is ticket information (such as the number of seats, origin, and destination), then finding the ticket information entity should add weight to the prediction of the book flight intent.
76
76
77
77
### Entity as a feature to another entity
78
78
79
79
An entity (A) should be added as a feature to another entity (B) when the detection of that entity (A) is significant for the prediction of entity (B).
80
80
81
-
For example, if the street address entity (A) is detected, then finding the street address (A) adds weight to the prediction for the shipping address entity (B).
81
+
For example, if the street address entity (A) is detected, then finding the street address (A) adds weight to the prediction for the shipping address entity (B).
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/schema-change-prediction-runtime.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
-
title: Change schema at runtime - LUIS
2
+
title: Extend app at runtime - LUIS
3
3
description:
4
4
ms.topic: conceptual
5
5
ms.date: 04/14/2020
6
6
---
7
-
# Extend app schema at prediction runtime
7
+
# Extend app at prediction runtime
8
8
9
9
The app's schema (models and features) is trained and published to the prediction endpoint. This published model is used on the prediction runtime. You can pass new information, along with the user's utterance, to the prediction runtime to augment the prediction.
10
10
@@ -198,3 +198,5 @@ The prediction response includes that list entity, with all the other predicted
0 commit comments