You are building a Language Understanding model for an e-commerce platform. You need to construct an entity to capture billing addresses. Which entity type should you use for the billing address?
My guess is A.
An ML entity can be composed of smaller sub-entities, each of which can have its own properties. For example, Address could have the following structure:
Address: 4567 Main Street, NY, 98052, USA
Building Number: 4567
Street Name: Main Street
State: NY
Zip Code: 98052
Country: USA
Right! (the correct response is A, Machine Learned)
See
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-entity-types
It is a Machine Learned Entity (check ML Entity with Structure in the link, as it is an Address example… )
Correct answer is D as per ChatGPT. Here is the response, "For capturing billing addresses in a Language Understanding model, the best choice would be Pattern.any (Option D). This is because billing addresses can vary greatly in format and content, and using Pattern.any allows for the flexibility needed to capture this variability effectively."
Copilot says Pattern.any
The Pattern.any entity type is designed to capture free-form text, which makes it suitable for capturing billing addresses that can come in various formats. It uses pattern matching to predict and extract data.
ML Entity with Structure
An ML entity can be composed of smaller sub-entities, each of which can have its own properties. For example, an Address entity could have the following structure:
Address: 4567 Main Street, NY, 98052, USA
Building Number: 4567
Street Name: Main Street
State: NY
Zip Code: 98052
Country: USA
Given these options, A. Machine Learned is the most appropriate choice for capturing billing addresses. Billing addresses are complex entities with a lot of variability in their format and structure. A machine-learned entity is capable of understanding and extracting such complex information from natural language inputs, which makes it suitable for this purpose. It can learn from examples and capture the billing address as an entity based on the context in which it appears, which is essential for handling the wide range of ways in which addresses can be presented.
ML Entity with Structure
An ML entity can be composed of smaller sub-entities, each of which can have its own properties. For example, an Address entity could have the following structure:
Address: 4567 Main Street, NY, 98052, USA
Building Number: 4567
Street Name: Main Street
State: NY
Zip Code: 98052
Country: USA
A is the answer.
https://learn.microsoft.com/en-us/azure/cognitive-services/LUIS/concepts/entities#machine-learned-ml-entity
Machine learned entity uses context to extract entities based on labeled examples. It is the preferred entity for building LUIS applications. It relies on machine-learning algorithms and requires labeling to be tailored to your application successfully. Use an ML entity to identify data that isn’t always well formatted but have the same meaning.
An ML entity can be composed of smaller sub-entities, each of which can have its own properties. For example, an Address entity could have the following structure:
Address: 4567 Main Street, NY, 98052, USA
Building Number: 4567
Street Name: Main Street
State: NY
Zip Code: 98052
Country: USA
C. geographyV2
The geographyV2 prebuilt entity in Language Understanding (LUIS) is designed to recognize and label entities that are geographical locations, such as city, state, or country. This would be suitable for capturing billing addresses in an e-commerce platform.
https://learn.microsoft.com/en-us/azure/ai-services/luis/luis-reference-prebuilt-geographyv2?tabs=V3
The prebuilt geographyV2 entity detects places.
The geographical locations have subtypes:
poi point of interest
city name of city
countryRegion name of country or region
continent name of continent
state name of state or province
I guess you could charge a bill for the Statue of Liberty on Ellis Island as a (fixed) “poi”, but a more generalized rule would rather look for an Address entity with sub-entities (variable) as an ML Entity with Structure type
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ExamPrep2021
Highly Voted 3 years, 7 months agoMarceloManhaes
6 months, 1 week agoLKLK10
Highly Voted 3 years, 7 months agoazurelearner666
3 years, 6 months agoAzureGeek79
Most Recent 3 months, 4 weeks agokrzkrzkra
5 months, 4 weeks agoHaraTadahisa
6 months, 3 weeks agoetellez
6 months, 4 weeks agoreigenchimpo
7 months agoomankoman
7 months, 2 weeks agonanaw770
7 months, 2 weeks agoevangelist
11 months, 2 weeks agordemontis
1 year, 2 months agojakespeed
1 year, 3 months ago[Removed]
1 year, 3 months agozellck
1 year, 6 months agozellck
1 year, 6 months agoEliteAllen
1 year, 6 months agoM25
1 year, 4 months agoap1234pa
1 year, 11 months ago