TGViewer
Data Science & Machine Learning Data Science & Machine Learning @datasciencefun · 77.8K subscribers
Post #3994 5.15K
✅ Data Science Interview Questions with Answers Part-9

81. What is accuracy and when is it misleading?
Accuracy measures the proportion of correct predictions out of total predictions. It becomes misleading when classes are imbalanced because a model can predict the majority class and still achieve high accuracy while performing poorly on the minority class.

82. What is precision and recall?
- Precision: How many predicted positive cases are actually positive.
- Recall: How many actual positive cases are correctly identified.
Precision focuses on false positives, while recall focuses on false negatives.

83. What is F1 score?
F1 score is the harmonic mean of precision and recall. It provides a balanced measure when both false positives and false negatives matter, especially in imbalanced datasets.

84. What is ROC curve?
The ROC curve plots the true positive rate against the false positive rate at different threshold values. It shows how well a model distinguishes between classes across thresholds.

85. What is AUC?
Area Under the ROC Curve measures overall model performance. A higher AUC indicates better ability to separate classes regardless of threshold choice.

86. Difference between confusion matrix metrics?
A confusion matrix breaks predictions into true positives, true negatives, false positives, and false negatives. Metrics like accuracy, precision, recall, and F1 are derived from these values to evaluate performance.

87. What is log loss?
Log loss measures the performance of a classification model by penalizing incorrect and overconfident predictions. Lower log loss indicates better probability estimates.

88. What is RMSE?
Root Mean Squared Error measures the average magnitude of prediction errors in regression tasks. It penalizes large errors more heavily than small ones and is sensitive to outliers.

89. What metric do you use for imbalanced data?
For imbalanced data, metrics such as precision, recall, F1 score, ROC-AUC, or PR-AUC are used instead of accuracy. The choice depends on business cost of errors.

90. How do business metrics link to ML metrics?
ML metrics must align with business goals. For example, recall may map to fraud prevention, while precision may map to cost control. The model is successful only if improvements in ML metrics lead to measurable business impact.

Double Tap ♥️ For Part-10
  • ❤ 12
More from @datasciencefun
  1. Oct 16, 2026𝗗𝗮𝘁𝗮 𝘀𝗰𝗶𝗲𝗻𝗰𝗲 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗪𝗶𝘁𝗵 𝗔𝗜😍 Future Ready Data Scien…
  2. Oct 15, 2026Post #4665
  3. Oct 15, 2026Post #4664
  4. Oct 15, 2026Post #4663
  5. Oct 15, 2026Post #4662
  6. Oct 13, 2026𝗧𝗢𝗣 𝗙𝗥𝗘𝗘 𝗖𝗢𝗨𝗥𝗦𝗘𝗦 𝗧𝗢 𝗕𝗢𝗢𝗦𝗧 𝗬𝗢𝗨𝗥 𝗦𝗞𝗜𝗟𝗟𝗦 𝗜𝗡 𝟮𝟬𝟮𝟲! Explor…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →