InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

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

Showing 2401–2412 of 3610 questions

Machine LearningBeginner1 min read

What is overfitting?

Overfitting occurs when a model learns noise or quirks in training data and generalizes poorly. Look for a large training/validation gap; simplify the...

Machine LearningBeginner1 min read

What is underfitting?

Underfitting occurs when a model is too simple or insufficiently trained to capture useful patterns. Training and validation performance are both poor...

Machine LearningBeginner1 min read

What is a baseline model?

Machine learning learns patterns from examples to make predictions or decisions. Define the target and success metric, create a leakage-safe split, fi...

Machine LearningBeginner1 min read

How does linear regression work?

Choose an algorithm based on target type, data size, feature representation, interpretability, latency, and error costs. Establish a baseline, tune ca...

Machine LearningBeginner1 min read

Linear regression assumptions

Choose an algorithm based on target type, data size, feature representation, interpretability, latency, and error costs. Establish a baseline, tune ca...

Machine LearningBeginner1 min read

What is logistic regression?

Choose an algorithm based on target type, data size, feature representation, interpretability, latency, and error costs. Establish a baseline, tune ca...

Machine LearningBeginner1 min read

What is a decision tree?

Choose an algorithm based on target type, data size, feature representation, interpretability, latency, and error costs. Establish a baseline, tune ca...

Machine LearningBeginner1 min read

Gini impurity vs entropy

Choose an algorithm based on target type, data size, feature representation, interpretability, latency, and error costs. Establish a baseline, tune ca...

Machine LearningBeginner1 min read

What is Random Forest?

Choose an algorithm based on target type, data size, feature representation, interpretability, latency, and error costs. Establish a baseline, tune ca...

Machine LearningBeginner1 min read

What is bagging?

Choose an algorithm based on target type, data size, feature representation, interpretability, latency, and error costs. Establish a baseline, tune ca...