AI / ML track

AI and machine learning interview questions

Panel-ready AI & Data Analytics questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

62 Moderate Neural Nets AI / ML

What is backpropagation?

Short take Full answer on next page

Simple meaning

Backpropagation applies the chain rule to compute the gradient of the loss with respect to every weight.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
66 Moderate Regularization AI / ML

Is weight decay the same as L2 regularization?

Short take Full answer on next page

Simple meaning

For vanilla SGD they match: both add a term that pulls weights toward zero.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
67 Moderate Regularization AI / ML

How is early stopping a form of regularization?

Short take Full answer on next page

Simple meaning

Stopping before the optimizer fully minimizes train loss limits effective capacity.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
69 Moderate Cross-Validation AI / ML

What is GroupKFold and when do you need it?

Short take Full answer on next page

Simple meaning

GroupKFold keeps all rows from the same group, such as a user or a hospital, on one side of the split.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
70 Moderate Cross-Validation AI / ML

When is ShuffleSplit a reasonable alternative to k-fold?

Short take Full answer on next page

Simple meaning

ShuffleSplit draws repeated random train and val cuts, which is flexible when you want a fixed train size.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
71 Moderate Metrics AI / ML

When is accuracy a bad metric?

Short take Full answer on next page

Simple meaning

On imbalanced data, predicting the majority class always looks accurate but useless.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
72 Moderate Features AI / ML

What is feature scaling and why do it?

Short take Full answer on next page

Simple meaning

Scaling puts numeric features on similar ranges so distance-based and gradient methods behave well.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
73 Moderate Metrics AI / ML

What is ROC-AUC in simple words?

Short take Full answer on next page

Simple meaning

It summarizes how well scores rank positives above negatives across thresholds.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
74 Moderate Algorithms AI / ML

What is k-nearest neighbors?

Short take Full answer on next page

Simple meaning

k-NN predicts from the labels of the k closest training points.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
75 Moderate Algorithms AI / ML

What is gradient boosting idea?

Short take Full answer on next page

Simple meaning

Add trees that correct previous residuals step by step.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
76 Moderate Features AI / ML

What is target encoding risk?

Short take Full answer on next page

Simple meaning

Encoding categories with target means can leak if done before split.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
78 Moderate ML AI / ML

What is cross-validation for?

Short take Full answer on next page

Simple meaning

Estimating generalization by rotating folds.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Prev Page 4 of 4
Chat with us