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
101 Moderate Random Forest AI / ML

How does max_features affect a random forest?

Short take Full answer on next page

Simple meaning

A smaller feature subset at each split makes trees more diverse and usually lowers correlation among them.

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

Read full answer Example · Mistake · Say this
103 Moderate Random Forest AI / ML

How do Extra Trees differ from a random forest?

Short take Full answer on next page

Simple meaning

Extremely randomized trees pick split thresholds more randomly, not just the feature subset.

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

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

Explain gradient boosting at a high level.

Short take Full answer on next page

Simple meaning

Gradient boosting fits each new tree to the gradient of the loss with respect to the current ensemble prediction.

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

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

What does the learning rate do in boosting?

Short take Full answer on next page

Simple meaning

The learning rate shrinks each new tree's contribution so later trees correct more gently.

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

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

How does AdaBoost differ from gradient boosting?

Short take Full answer on next page

Simple meaning

AdaBoost reweights training rows so misclassified points get more attention in the next weak learner.

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

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

When is an RBF kernel a poor idea?

Short take Full answer on next page

Simple meaning

RBF SVMs scale badly with n because they depend on many support vectors.

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

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

How does the curse of dimensionality hurt KNN?

Short take Full answer on next page

Simple meaning

In high dimensions, distances concentrate and nearest neighbors stop being truly near.

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

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

What is the benefit of distance-weighted KNN?

Short take Full answer on next page

Simple meaning

Closer neighbors can vote more than far ones, which softens the effect of a clumsy K.

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

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

What is the silhouette score?

Short take Full answer on next page

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

How does DBSCAN differ from K-means?

Short take Full answer on next page

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
118 Moderate PCA AI / ML

How do you choose the number of principal components?

Short take Full answer on next page

Simple meaning

Look at the explained-variance ratio and keep components until a target such as 90 or 95 percent is reached.

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

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

When should you use PCA instead of feature selection?

Short take Full answer on next page

Simple meaning

PCA is better when many correlated numeric features share a low-dimensional subspace and you mainly need compression.

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

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

Why might PCA hurt a tree-based model?

Short take Full answer on next page

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