Microsoft Azure AI Fundamentals (AI-900)Describe fundamental principles of machine learning on AzureMedium
A data scientist is building a machine learning model to predict the price of used cars based on features like mileage, age, brand, and engine size. What type of machine learning task is this?
- ARegression
- BClustering
- CClassification
- DReinforcement Learning
Show answer & explanationAnswer & explanation
Correct answer: A. Regression
Predicting a continuous numerical value, such as the price of a car, is a classic example of a regression task in machine learning.
Why the other options are wrong
- B. Clustering is for grouping similar data points without predefined labels.
- C. Classification is for predicting discrete categories or labels.
- D. Reinforcement Learning involves an agent learning through trial and error in an environment, which is not applicable here.
Regression
A supervised machine learning task where the output variable is a continuous numerical value.
- Predicts quantities (e.g., price, temperature, sales).
- Requires labeled training data with continuous target values.
- Common algorithms include Linear Regression, Decision Trees, Support Vector Regression.
Memory trick: Supervised Learning: Labeled Data, Predict Outcomes