Exam Professional Machine Learning Engineer topic 1 question 265 discussion - ExamTopics


AI Summary Hide AI Generated Summary

Problem Description

The problem involves extracting ingredients and cookware from a corpus of unstructured recipe text files using machine learning.

Proposed Solutions

  • Option A: Utilize Vertex AI's AutoML entity extraction by creating a text dataset, defining "ingredient" and "cookware" entities, labeling examples, training a model, and evaluating performance.
  • Option B: Employ multi-label text classification on Vertex AI, creating a dataset, labeling recipes with ingredients and cookware, training a model, and evaluating it.
  • Option C: Leverage the Natural Language API's Entity Analysis to extract ingredients and cookware, evaluating performance on a pre-labeled dataset.
  • Option D: Create a Vertex AI text dataset with entities for each ingredient and cookware, train an AutoML entity extraction model, and evaluate its performance.

Suggested Solution

The suggested answer is Option A, which uses Vertex AI's AutoML entity extraction. This approach is preferred due to its efficiency and effectiveness in handling the entity extraction task from unstructured text.

Sign in to unlock more AI features Sign in with Google

You work for a company that is developing an application to help users with meal planning. You want to use machine learning to scan a corpus of recipes and extract each ingredient (e.g., carrot, rice, pasta) and each kitchen cookware (e.g., bowl, pot, spoon) mentioned. Each recipe is saved in an unstructured text file. What should you do?

  • A. Create a text dataset on Vertex AI for entity extraction Create two entities called “ingredient” and “cookware”, and label at least 200 examples of each entity. Train an AutoML entity extraction model to extract occurrences of these entity types. Evaluate performance on a holdout dataset.
  • B. Create a multi-label text classification dataset on Vertex AI. Create a test dataset, and label each recipe that corresponds to its ingredients and cookware. Train a multi-class classification model. Evaluate the model’s performance on a holdout dataset.
  • C. Use the Entity Analysis method of the Natural Language API to extract the ingredients and cookware from each recipe. Evaluate the model's performance on a prelabeled dataset.
  • D. Create a text dataset on Vertex AI for entity extraction. Create as many entities as there are different ingredients and cookware. Train an AutoML entity extraction model to extract those entities. Evaluate the model’s performance on a holdout dataset.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Was this article displayed correctly? Not happy with what you see?

Tabs Reminder: Tabs piling up in your browser? Set a reminder for them, close them and get notified at the right time.

Try our Chrome extension today!


Share this article with your
friends and colleagues.
Earn points from views and
referrals who sign up.
Learn more

Facebook

Save articles to reading lists
and access them on any device


Share this article with your
friends and colleagues.
Earn points from views and
referrals who sign up.
Learn more

Facebook

Save articles to reading lists
and access them on any device