InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

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

Showing 2449–2460 of 3610 questions

Machine LearningIntermediate1 min read

What is target encoding?

Feature engineering converts raw fields into useful, prediction-time-available representations. Handle missingness, encode categories, scale when need...

Machine LearningIntermediate1 min read

What is cross-validation?

Cross-validation repeatedly fits on training folds and evaluates on held-out folds, providing a more stable estimate than a single split. Use stratifi...

Machine LearningIntermediate1 min read

K-fold vs stratified K-fold

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 group cross-validation?

Cross-validation repeatedly fits on training folds and evaluates on held-out folds, providing a more stable estimate than a single split. Use stratifi...

Machine LearningIntermediate1 min read

What is hyperparameter tuning?

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

Grid search vs randomized search

Grid search tests every specified parameter combination; randomized search samples a fixed number and can explore wide spaces more efficiently. Tune o...

Machine LearningIntermediate1 min read

What is nested cross-validation?

Cross-validation repeatedly fits on training folds and evaluates on held-out folds, providing a more stable estimate than a single split. Use stratifi...

Machine LearningIntermediate1 min read

What is learning-curve analysis?

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 validation curve?

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