AI-900 Question 81
Single answerA company wants to predict future sales based on historical data. Which of the following machine learning techniques is most suitable for this task?
- A
Classification
- B
Regression
- C
Clustering
- D
Reinforcement learning
Show answer and explanation
Correct answer: B
Explanation
Regression is the most suitable machine learning technique for predicting continuous numerical values, such as sales forecasts, as it models the relationship between independent variables (features) and a dependent variable (target). Other techniques like classification, clustering, and reinforcement learning serve different purposes and are not designed for this type of task.
- A. Incorrect.
Classification is used for categorical predictions, such as determining whether an email is spam or not. It is not suitable for predicting continuous numerical values like future sales.
- B. Correct.
Regression is the appropriate technique for predicting continuous numerical values, such as forecasting sales based on historical data.
- C. Incorrect.
Clustering is used to group data into clusters based on similarity and is not suitable for making numerical predictions.
- D. Incorrect.
Reinforcement learning is typically used for decision-making tasks where an agent learns to achieve a goal by interacting with an environment, not for predicting numerical values like sales.