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.

21 Easy Metrics AI / ML

How do MAE and RMSE differ?

Short take Full answer on next page

Simple meaning

MAE averages absolute errors and treats misses in a linear way.

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

Read full answer Example · Mistake · Say this
22 Easy Linear Regression AI / ML

What is linear regression?

Short take Full answer on next page

Simple meaning

Linear regression predicts a continuous target as a weighted sum of features plus an intercept.

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

Read full answer Example · Mistake · Say this
23 Easy Linear Regression AI / ML

What assumptions does ordinary linear regression make?

Short take Full answer on next page

Simple meaning

It assumes a roughly linear relationship, independent errors, and fairly constant residual variance.

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

Read full answer Example · Mistake · Say this
24 Easy Linear Regression AI / ML

What is a residual in linear regression?

Short take Full answer on next page

Simple meaning

A residual is actual y minus predicted y for a row.

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

Read full answer Example · Mistake · Say this
25 Easy Linear Regression AI / ML

How do you interpret a linear regression coefficient?

Short take Full answer on next page

Simple meaning

Holding other features fixed, the coefficient is the expected change in y for a one-unit rise in that feature.

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

Read full answer Example · Mistake · Say this
26 Easy Logistic Regression AI / ML

What is logistic regression?

Short take Full answer on next page

Simple meaning

Logistic regression models class probability with a linear score passed through a sigmoid.

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

Read full answer Example · Mistake · Say this
29 Easy Logistic Regression AI / ML

How do you read a logistic regression coefficient?

Short take Full answer on next page

Simple meaning

A coefficient is the change in log-odds for a one-unit feature increase with other features held fixed.

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

Read full answer Example · Mistake · Say this
30 Easy Decision Trees AI / ML

How does a decision tree make a prediction?

Short take Full answer on next page

Simple meaning

The tree splits the feature space with if-then rules that improve purity or reduce error at each node.

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

Read full answer Example · Mistake · Say this
31 Easy Decision Trees AI / ML

What is Gini impurity?

Short take Full answer on next page

Simple meaning

Gini impurity measures how mixed the classes are inside a node.

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

Read full answer Example · Mistake · Say this
33 Easy Random Forest AI / ML

What is a random forest?

Short take Full answer on next page

Simple meaning

A random forest is many decision trees trained on bootstrap samples of the rows.

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

Read full answer Example · Mistake · Say this
35 Easy Random Forest AI / ML

What is bagging?

Short take Full answer on next page

Simple meaning

Bagging trains the same algorithm on bootstrap resamples and then aggregates the predictions.

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

Read full answer Example · Mistake · Say this
36 Easy Boosting AI / ML

What is boosting?

Short take Full answer on next page

Simple meaning

Boosting builds models in sequence so each new model focuses on leftover errors.

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

Read full answer Example · Mistake · Say this
37 Easy Boosting AI / ML

How is boosting different from bagging?

Short take Full answer on next page

Simple meaning

Bagging trains models in parallel on random subsets and averages them.

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

Read full answer Example · Mistake · Say this
39 Easy SVM AI / ML

What is a support vector machine?

Short take Full answer on next page

Simple meaning

An SVM finds a decision boundary that maximizes the margin between classes.

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

Read full answer Example · Mistake · Say this
40 Easy SVM AI / ML

What is a support vector?

Short take Full answer on next page

Simple meaning

Support vectors are the training points that sit on or inside the margin.

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