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
44 Moderate Clustering AI / ML

What is the silhouette score?

Short take

Simple meaning

Silhouette compares how close a point is to its own cluster versus the next nearest cluster.

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

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

How does DBSCAN differ from K-means?

Short take

Simple meaning

DBSCAN grows clusters from dense neighborhoods and labels sparse points as noise.

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

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

Why might PCA hurt a tree-based model?

Short take

Simple meaning

Trees split on original features and can ignore irrelevant axes without rotation.

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

Read full answer Example · Mistake · Say this
51 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
52 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
53 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
55 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
59 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
Prev Page 3 of 4 Next
Chat with us