Which metric suits a regression model that predicts house prices?
- Exam domain
- Machine Learning With RAPIDS16% of the exam
- Difficulty
- Easy
- In this mock
- 8 questions on this domainPractise this domain
Why the exam asks this
Machine Learning With RAPIDS (16% of the exam)
Objective in the exam guide: Performance metrics and confusion matrix interpretation
Performance metrics are part of the objective.
Why C is the answer
Mean absolute error
Regression is judged by error size, such as mean absolute error or root mean squared error. Accuracy and recall are classification metrics.
Remember: Use MAE or RMSE for regression.
How it works
Metrics must match the task type.
In detail
- Regression: MAE, RMSE, R squared.
- Classification: accuracy, precision, recall.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. RecallWrong
Recall is for classification.
B. Confusion matrixWrong
Confusion matrices are for classes.
C. Mean absolute errorRight
Use MAE or RMSE for regression.
D. Accuracy, counting how many predicted prices match the true price to the exact dollarWrongMost tempting
Exact matches almost never happen.
Why it tempts: Accuracy is the most familiar metric.
Use case
An illustrative scenario, not a real incident.
Illustrative: MAE of $18,000 tells agents the typical error in plain terms.
See it in different ways
mindmap
root(("Metrics"))
n1["Regression"]
n2["MAE"]
n3["RMSE"]
n4["R squared"]
n5["Classification"]
n6["Precision"]
n7["Recall"]
n8["F1"]
n9["Clustering"]
n10["Silhouette"]How to read this chart
- The centre is "Metrics".
- "Regression" covers "MAE", "RMSE", "R squared".
- "Classification" covers "Precision", "Recall", "F1".
- "Clustering" covers "Silhouette".
flowchart TD
Q{"Large errors much worse?"}
Q -->|"Yes"| A0["RMSE"]
Q -->|"No"| A1["MAE"]How to read this chart
- At "Large errors much worse?": if "Yes", go to "RMSE"; if "No", go to "MAE".