Skip to main content
Skip to footer
Home
Interview Questions
Machine Learning Basics
Deep Learning
Supervised Learning
Unsupervised Learning
Natural Language Processing
Statistics
Data Preparation
Technical Quizzes
AI Fun Games
Jobs
Home
Interview Questions
Machine Learning Basics
Deep Learning
Supervised Learning
Unsupervised Learning
Natural Language Processing
Statistics
Data Preparation
Technical Quizzes
AI Fun Games
Jobs
Login
Sign Up
Explore Questions by Topics
Computer Vision
(15)
Generative AI
(4)
Reinforcement Learning
(13)
Machine Learning Basics
(18)
–
Deep Learning
(78)
DL Basics
(16)
–
DL Architectures
(21)
Feedforward Network / MLP
(3)
Sequence models
(6)
Transformers
(11)
DL Training and Optimization
(39)
–
Natural Language Processing
(34)
NLP Data Preparation
(18)
–
Supervised Learning
(115)
–
Regression
(41)
Linear Regression
(26)
Generalized Linear Models
(9)
Regularization
(6)
–
Classification
(70)
Logistic Regression
(10)
Support Vector Machine
(9)
Ensemble Learning
(24)
Other Classification Models
(9)
Classification Evaluations
(9)
–
Unsupervised Learning
(64)
–
Clustering
(40)
Distance Measures
(9)
K-Means Clustering
(10)
Hierarchical Clustering
(3)
Gaussian Mixture Models
(5)
Clustering Evaluations
(5)
Dimensionality Reduction
(12)
Statistics
(35)
–
Data Preparation
(35)
Feature Engineering
(30)
Sampling Techniques
(5)
Machine Learning Interview Questions
Q.
What are some common distance metrics that can be used in clustering?
Q.
What loss function does K-Means seek to minimize?
Q.
How does K-Means ++ work?
Q.
What are some options for clustering on categorical data? What if the dataset contains a combination of numeric and categorical features?
Q.
What is Expectation-Maximization (EM)?
Q.
What is a Gaussian Mixture Model (GMM)?
Q.
How does the initial choice of centroids affect the K-Means algorithm?
Q.
What is Spectral Clustering?
Q.
What is the difference between parametric and non-parametric models?
Q.
What are the pros and cons of parametric vs. non-parametric models?
Q.
What is the difference between Feature Engineering and Feature Selection?
Q.
How are categorical features or qualitative predictors represented in a machine learning model?
Q.
What is Laplace Smoothing? What is Additive Smoothing? Why do we need smoothing in IDF?
Q.
What is Bag-of-Words Model? Explain using an example
Q.
What is an N-gram Language model? Explain its working in detail
Q.
What are the assumptions of linear regression?
Q.
How are continuous features incorporated into Naive Bayes?
Q.
What are common choices to use for kernels in SVM?
Q.
Discuss Dummy encoding in the context of feature engineering
Q.
Discuss text feature extraction in the context of feature engineering
Q.
What is Hierarchical Clustering?
Q.
Explain the difference between Entropy, Gini, and Information Gain
Q.
How does a decision tree create splits from continuous features?
Q.
How does pruning a tree work?
Q.
What is CART?
Q.
What are the key hyperparameters for a Random Forest model?
Q.
Why is Random Forest a non-linear model? Why does it result in non-linear decision boundaries?
Q.
What is the difference between Decision Trees, Bagging and Random Forest?
Q.
What are the key hyperparameters for a GBM model?
Q.
What are the options for reporting feature importance from a decision-tree based model?
Q.
What is the difference between Adaboost and Gradient boost?
Q.
What is XGBoost? How does it improve upon standard GBM?
Q.
How is variability measured in Linear Regression?
Q.
What is multicollinearity and how can that be identified?
Q.
What is Global F-Test?
Q.
What is R-squared and adjusted R-squared?
Q.
What are the various measures of error (MSE, RMSE, MAE)?
Q.
What is Information Criteria (AIC, BIC)?
Q.
What are some of the problems with stepwise selection approaches?
Q.
Suppose there are a large number of predictors ‘p’. What is the best approach to find out if any of the p predictors are helpful in predicting the response ‘y’?
Q.
What are the most common transformations when the target variable is not normally distributed?
Q.
Doesn’t polynomial regression violate the multicollinearity assumption for Linear Regression?
Q.
Why does multicollinearity result in poor estimates of coefficients in linear regression?
Q.
What is the difference between Regression and ANOVA?
Q.
What is the difference between outliers, high leverage points, and high influence points?
Q.
What is an outlier?
Q.
What is a high leverage point?
Q.
What is a high influence point?
Q.
What are potential problems encountered in Linear Regression?
Q.
What is non-negative least squares, and when is it used?
Q.
What problems would arise from using a regular linear regression to model a binary outcome?
Q.
Why are the log odds used in the link function instead of just the regular odds ratio?
Q.
What is the relationship between the log odds ratio and probability?
Q.
How are the coefficients in a logistic expression interpreted?
Q.
Why are coefficients estimated through Maximum Likelihood (MLE) instead of Least Squares?
Q.
What is the equivalent of the overall F test in logistic regression?
Q.
What are the advantages and disadvantages of logistic regression?
Q.
How does GLM adjust to the case of count data?
Q.
What is the cost function used in Poisson Regression?
Q.
What is overdispersion in Poisson Regression, and what are alternate specifications for when it is present?
Q.
What about cases where a significant number of observations have a count of 0 (in the context of Poisson Regression)?
Q.
What is Gamma Regression?
Q.
What is Beta regression?
Q.
What is Tweedie Regression?
Q.
What is Accuracy?
Q.
What is Misclassification rate?
Q.
What is Recall?
Q.
What is Precision?
Q.
What is F1 Score?
Q.
What is Specificity?
Q.
What is False Positive Rate (FPR)?
Q.
How to determine threshold/decision rule for a classification model?
Q.
Understanding Probability Outputs in Classification Algorithms
Q.
What do you mean by calibration quality? How can calibration quality be detected from the output of an algorithm?
Q.
What are options to calibrate probabilities produced from the output of a classifier that does not produce natural probabilities?
Q.
What happens if a category has a zero frequency within a class, and how is this issue commonly addressed (Naive Bayes)?
Q.
What are the Pros/Cons of Naive Bayes?
Q.
What hyper-parameters are typically tuned in SVM?
Q.
What are some of the pros/cons of SVM?
Q.
How does discriminant analysis work at a high level?
Q.
What are some pros and cons of Discriminant Analysis?
Q.
Discuss Ordinal encoding in the context of feature engineering
Q.
Discuss Timestamp Date Extraction in the context of feature engineering
Q.
Discuss Discretization in the context of feature engineering
Q.
Among the common machine learning algorithms, which require feature scaling, and which do not?
Q.
What are the subtypes of Cross Validation?
Q.
What is Data Leakage?
Q.
What is Data Sparsity?
Q.
How does gradient descent differ from coordinate descent?
Q.
What is Exclusive Clustering?
Q.
What is Probabilistic (Fuzzy) Clustering?
Q.
What is Model-based Clustering?
Q.
What is Within Cluster Sum of Squares (WCSS)?
Q.
What is Silhouette Score?
Q.
What is Dunn Index?
Q.
What is Rand Index?
Q.
What is Adjusted Rand Index (ARI)?
Q.
What is Mutual Information (MI)?
Q.
What is Euclidean Distance?
Q.
What is Mahalanobis Distance?
←
1
2
3
4
5
→
Partner Ad
Explore Questions by Topics
Computer Vision
(15)
Generative AI
(4)
Reinforcement Learning
(13)
Machine Learning Basics
(18)
–
Deep Learning
(78)
DL Basics
(16)
–
DL Architectures
(21)
Feedforward Network / MLP
(3)
Sequence models
(6)
Transformers
(11)
DL Training and Optimization
(39)
–
Natural Language Processing
(34)
NLP Data Preparation
(18)
–
Supervised Learning
(115)
–
Regression
(41)
Linear Regression
(26)
Generalized Linear Models
(9)
Regularization
(6)
–
Classification
(70)
Logistic Regression
(10)
Support Vector Machine
(9)
Ensemble Learning
(24)
Other Classification Models
(9)
Classification Evaluations
(9)
–
Unsupervised Learning
(64)
–
Clustering
(40)
Distance Measures
(9)
K-Means Clustering
(10)
Hierarchical Clustering
(3)
Gaussian Mixture Models
(5)
Clustering Evaluations
(5)
Dimensionality Reduction
(12)
Statistics
(35)
–
Data Preparation
(35)
Feature Engineering
(30)
Sampling Techniques
(5)
Search
Join us on:
Machine Learning Interview Preparation Group
@OfficialAIML
Find out all the ways that you can
Contribute
Other Questions in Machine Learning Interview Questions
What is the cost function used in Poisson Regression?
What is Multi-Task Learning?
What does Centering and Scaling mean? What is the individual effect of each of those?
What is Random Projection? Discuss its advantages and disadvantages?
What are the advantages and disadvantages of Decision Tree model?
Why does multicollinearity result in poor estimates of coefficients in linear regression?