Professional Machine Learning Engineer Exam QuestionsBrowse all questions from this exam

Professional Machine Learning Engineer Exam - Question 68


You need to quickly build and train a model to predict the sentiment of customer reviews with custom categories without writing code. You do not have enough data to train a model from scratch. The resulting model should have high predictive performance. Which service should you use?

Show Answer
Correct Answer: A

AutoML Natural Language is the best choice for quickly building and training a custom sentiment analysis model without writing code. It is specifically designed to work well with relatively small datasets and offers high predictive performance through techniques like transfer learning. The service allows users to train custom models that meet their specific needs, including custom categories, which aligns with the requirements of this question.

Discussion

17 comments
Sign in to comment
shankalman717Option: B
Feb 22, 2023

If you do not have enough data to train a model from scratch, then it may be more appropriate to use a pre-trained model or a pre-made Jupyter Notebook. Option B, the Cloud Natural Language API, could still be a viable option if you have access to labeled data for sentiment analysis. The API provides pre-trained models for sentiment analysis that you can use to classify text. However, if you have custom categories or labels, then you would need to train a custom model, which may not be feasible with limited data.

tavva_prudhviOption: A
Mar 15, 2023

Its A, Check this document, https://cloud.google.com/natural-language/automl/docs/beginners-guide The Natural Language API discovers syntax, entities, and sentiment in text, and classifies text into a predefined set of categories.

LFaveroOption: A
Feb 23, 2024

AutoML Natural Language is designed to work well even with relatively small datasets. It uses transfer learning and other techniques to train models effectively on limited data, which is crucial since there's enough data to train a model from scratch.

Omi_04040Option: B
Dec 27, 2022

B is the correct answer AutoML needs data for training and its clearly mentioned we don't have any data.

tavva_prudhvi
Mar 15, 2023

they said, "do not have enough data"!!!!

John_PongthornOption: A
Jan 25, 2023

Quickly ==> A and B and custom categories + you do not have enough data to train a model (it doesn't mean no data to train) it will probably have a few samples Let's say 10 samples) as this link https://cloud.google.com/natural-language/automl/docs/beginners-guide#include-enough-labeled-examples-in-each-category ==> A

enghabethOption: A
Feb 9, 2023

https://www.toptal.com/machine-learning/google-nlp-tutorial#:~:text=Google%20Natural%20Language%20API%20vs.&text=Google%20AutoML%20Natural%20Language%20is,t%20require%20machine%20learning%20knowledge. In this case need custom categories without writing code

dfdrinOption: A
Mar 30, 2023

It's A. "Custom categories" means B can't be correct

Sahana_98Option: B
Oct 29, 2023

NO DATA TO TRAIN THE MODEL FROM SCRACH

GuineaPigHunter
May 27, 2024

"You do not have enough data to train a model from scratch" - I think this means that there is SOME data but not a lot, something which AutoML can handle.

PancyOption: B
Dec 16, 2022

B is the correct answer. The API connects with the prebuilt Google NLP model for prediction

hiromiOption: A
Dec 16, 2022

A wish0035 explained

John_PongthornOption: B
Jan 25, 2023

Quickly ==> A and B and custom categories + you do not have enough data to train a model (it doesn't mean no data to train) it will probably have a few samples Let's say 10 samples) ==> B

John_Pongthorn
Jan 25, 2023

https://cloud.google.com/natural-language/automl/docs/beginners-guide#include-enough-labeled-examples-in-each-category

John_Pongthorn
Jan 25, 2023

Sorry, I go with A A A A A A

M25Option: A
May 9, 2023

Went with A

Krish6488Option: A
Nov 11, 2023

Custom models and custom categories and hence AutoML natural language, It would still work with less data

MultiCloudIronManOption: A
Apr 1, 2024

This suitable job for AutoML, it used transfer learning when there is small data for training.

b2aaaceOption: B
Apr 20, 2024

AutoML does not have transfer learning capabilities as of now. Given that there are not enough data to train from scratch, B is the only option that makes sense.

pinimichele01
Apr 22, 2024

https://cloud.google.com/vertex-ai/docs/text-data/sentiment-analysis/prepare-data

nmnm22Option: A
May 27, 2024

"Quickly build" >> usually go with the low-code/no-code options of autoML

PhilipKokuOption: A
Jun 7, 2024

A) AutoML - Codeless