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.

41 High PCA AI / ML

What is whitening in PCA and when can it hurt?

Short take Full answer on next page

Simple meaning

Whitening scales components to unit variance, and sometimes decorrelates them fully, so downstream distance models treat axes equally.

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

Read full answer Example · Mistake · Say this
43 High Feature Engineering AI / ML

What is the hashing trick for features?

Short take Full answer on next page

Simple meaning

Feature hashing maps tokens or categories into a fixed-width vector with a hash function, optionally with signed hashes to reduce collisions.

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

Read full answer Example · Mistake · Say this
44 High Feature Engineering AI / ML

How can time-based features leak the future?

Short take Full answer on next page

Simple meaning

Using a statistic that includes later periods, a target from tomorrow, or a rolling mean that is not shifted, all leak.

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

Read full answer Example · Mistake · Say this
45 High Feature Engineering AI / ML

When does binning help linear models more than trees?

Short take Full answer on next page

Simple meaning

Quantile bins let a linear model learn a piecewise-constant nonlinear effect without polynomials.

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

Read full answer Example · Mistake · Say this
46 High Imbalanced Data AI / ML

When should you reframe imbalance as anomaly detection?

Short take Full answer on next page

Simple meaning

If the rare class is extremely scarce and poorly represented, a one-class or density model on the majority may beat a two-class learner.

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

Read full answer Example · Mistake · Say this
51 High sklearn Pipeline AI / ML

How can memory caching help GridSearchCV on a Pipeline?

Short take Full answer on next page

Simple meaning

memory= on a Pipeline caches fitted transformer outputs so repeated grid points reuse the same scaled matrix.

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

Read full answer Example · Mistake · Say this
57 High Regularization AI / ML

What is label smoothing in classification nets?

Short take Full answer on next page

Simple meaning

Label smoothing replaces the hard 1.0 target with a slightly lower value and spreads the leftover mass over other classes.

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

Read full answer Example · Mistake · Say this
58 High Regularization AI / ML

How does data augmentation act as regularization?

Short take Full answer on next page

Simple meaning

Augmentation trains the model on transformed copies so it cannot memorize exact pixels or tokens.

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

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