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.

223 Qs
121 Moderate Feature Engineering AI / ML

What is target encoding and how can it leak?

Short take

Simple meaning

Target encoding replaces a category with a statistic of y, such as the mean label.

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

Read full answer Example · Mistake · Say this
122 Moderate Feature Engineering AI / ML

How do you encode high-cardinality categoricals?

Short take

Simple meaning

One-hot becomes huge, so people use target encoding, hashing, embeddings, or frequency encoding.

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

Read full answer Example · Mistake · Say this
123 Moderate Feature Engineering AI / ML

When do interaction features help?

Short take

Simple meaning

Interactions help linear and logistic models capture AND-style effects they cannot learn from main effects alone.

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

Read full answer Example · Mistake · Say this
125 Moderate Imbalanced Data AI / ML

What is SMOTE and what are its risks?

Short take

Simple meaning

SMOTE builds synthetic minority points by interpolating between a minority row and its neighbors.

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

Read full answer Example · Mistake · Say this
129 Moderate sklearn Pipeline AI / ML

What is ColumnTransformer used for?

Short take

Simple meaning

ColumnTransformer applies different transformers to different column subsets in one step.

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

Read full answer Example · Mistake · Say this
132 Moderate Neural Nets AI / ML

What is backpropagation?

Short take

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
139 Moderate Cross-Validation AI / ML

What is GroupKFold and when do you need it?

Short take

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
Prev Page 7 of 12 Next
Chat with us