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


AI Summary Hide AI Generated Summary

Problem:

A retail company needs to create a machine learning model to predict product sales using historical data from BigQuery, which includes features like date, location, product category, and promotions. The goal is to choose the most accurate model and feature engineering techniques.

Options:

  • A. Linear Regression with one-hot encoding for categorical features and date-based features (day, month).
  • B. Boosted tree model with label encoding for categorical features and numerical date transformation.
  • C. Autoencoder model with label encoding for categorical features and date normalization.
  • D. Matrix factorization model with one-hot encoding for categorical features and interaction features between location and product category.

Suggested Answer:

The suggested answer is B, using a boosted tree model with label encoding and numerical date transformation.

Sign in to unlock more AI features Sign in with Google

You work at a retail company, and are tasked with developing an ML model to predict product sales. Your company’s historical sales data is stored in BigQuery and includes features such as date, store location, product category, and promotion details. You need to choose the most effective combination of a BigQuery ML model and feature engineering to maximize prediction accuracy. What should you do?

  • A. Use a linear regression model. Perform one-hot encoding on categorical features, and create additional features based on the date, such as day of the week or month.
  • B. Use a boosted tree model. Perform label encoding on categorical features, and transform the date column into numeric values.
  • C. Use an autoencoder model. Perform label encoding on categorical features, and normalize the date column.
  • D. Use a matrix factorization model. Perform one-hot encoding on categorical features, and create interaction features between the store location and product category variables.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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