InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 2461–2472 of 3610 questions

Machine LearningIntermediate1 min read

What is early stopping?

Model selection estimates generalization and chooses hyperparameters using validation data or cross-validation. Keep the final test set out of repeate...

Machine LearningIntermediate1 min read

What is a model benchmark?

Model selection estimates generalization and chooses hyperparameters using validation data or cross-validation. Keep the final test set out of repeate...

Machine LearningAdvanced1 min read

What is accuracy?

Accuracy is the fraction of predictions that are correct: (TP+TN)/(TP+TN+FP+FN). It can be misleading with class imbalance or asymmetric error costs.

Machine LearningAdvanced1 min read

What are precision and recall?

Precision = TP/(TP+FP), the share of predicted positives that are correct. Recall = TP/(TP+FN), the share of actual positives found. Choose the trade-...

Machine LearningAdvanced1 min read

What is the F1 score?

F1 is the harmonic mean of precision and recall: 2PR/(P+R). It balances these measures but ignores true negatives and does not encode business costs d...

Machine LearningAdvanced1 min read

What is a confusion matrix?

Evaluate with metrics that match the business objective and error costs. Inspect class- or segment-level errors, calibration, and robustness; after de...

Machine LearningAdvanced1 min read

What is ROC-AUC?

ROC-AUC measures ranking quality across thresholds using true-positive rate versus false-positive rate. It is threshold-independent but can look optim...

Machine LearningAdvanced1 min read

What is PR-AUC?

The precision-recall curve shows precision versus recall across thresholds. Average precision or PR-AUC is often informative for rare positive classes...

Machine LearningAdvanced1 min read

What is log loss?

Evaluate with metrics that match the business objective and error costs. Inspect class- or segment-level errors, calibration, and robustness; after de...