AWS Certified Machine Learning – Specialty — Question 17

A manufacturing company has a large set of labeled historical sales data. The manufacturer would like to predict how many units of a particular part should be produced each quarter.
Which machine learning approach should be used to solve this problem?

Answer options

Correct answer: D

Explanation

Linear regression is the correct choice as it is designed for predicting continuous numerical outcomes, such as the number of units to produce. Logistic regression, on the other hand, is used for binary classification tasks, while Random Cut Forest is primarily for anomaly detection, and Principal Component Analysis is for dimensionality reduction, making them unsuitable for this prediction problem.