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
22 Moderate Logistic Regression AI / ML

What loss does logistic regression minimize?

Short take

Simple meaning

It minimizes log loss, which is the negative log likelihood of a Bernoulli model.

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

Read full answer Example · Mistake · Say this
25 Moderate Logistic Regression AI / ML

When does logistic regression struggle?

Short take

Simple meaning

It struggles with strongly nonlinear decision surfaces unless you add interactions or basis functions.

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

Read full answer Example · Mistake · Say this
26 Moderate Decision Trees AI / ML

What is pruning a decision tree?

Short take

Simple meaning

Pruning removes branches that add little validated gain so the tree does not memorize noise.

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

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

How does max_features affect a random forest?

Short take

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
34 Moderate Boosting AI / ML

Explain gradient boosting at a high level.

Short take

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
35 Moderate Boosting AI / ML

What does the learning rate do in boosting?

Short take

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
40 Moderate SVM AI / ML

When is an RBF kernel a poor idea?

Short take

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