MLStackMLSCCafé
 
 
Sign in with GoogleSign in with Google. Opens in new tab
Master Your ML & AIAI Interview
2103 Curated Machine Learning, Data Science, AI & LLMs Interview Questions
Answered To Get Your Next Six-Figure Job Offer

Top 43 Classification Interview Questions

Entry Junior Mid Senior Expert
Sign in with GoogleSign in with Google. Opens in new tab
Learning Progress:

Classification Theoretical Questions

Q1:   

What is a Perceptron?

  Related To: Supervised Learning, Neural Networks
Add to PDF   Entry 
Q2:   

What's the difference between Multiclass Classification models and Multi Label model?

  Related To: ML Design Patterns
Add to PDF   Junior 
Q3:   

Why Naive Bayes is called Naive?

  Related To: Naïve Bayes, Supervised Learning
Add to PDF   Junior 
Q4:   

Why would you use the Kernel Trick?

  Related To: SVM
Add to PDF   Junior 
Q5:   

How would you make a prediction using a Logistic Regression model?

  Related To: Logistic Regression
Add to PDF   Junior 
Q6:   

How do you choose the optimal k in k-NN?

  Related To: K-Nearest Neighbors
Add to PDF   Junior 
Q7:   

What is the difference between KNN and K-means Clustering?

  Related To: Unsupervised Learning, Supervised Learning, K-Means Clustering
Add to PDF   Junior 
Q8:   

What types of Classification Algorithms do you know?

  
Add to PDF   Junior 
Q9:   

What is a Decision Boundary?

  Related To: Logistic Regression
Add to PDF   Junior 
Q10:   

How would you use Naive Bayes classifier for categorical features? What if some features are numerical?

  Related To: Naïve Bayes
 Add to PDF   Mid 
Q11:   

What is the Hinge Loss in SVM?

  Related To: SVM, Cost Function
 Add to PDF   Mid 
Q12:   

What is the F-Score?

  Related To: Model Evaluation, Statistics
 Add to PDF   Mid 
Q13:   

What are some advantages and disadvantages of using AUC to measure the performance of the model?

  Related To: Model Evaluation
 Add to PDF   Mid 
Q14:   

How does ROC curve and AUC value help measure how good a model is?

  Related To: Model Evaluation
 Add to PDF   Mid 
Q15:   

What is a Confusion Matrix?

  Related To: Model Evaluation, Supervised Learning
 Add to PDF   Mid 
Q16:   

How do you use a supervised Logistic Regression for Classification?

  Related To: Supervised Learning, Logistic Regression
 Add to PDF   Mid 
Q17:   

What's the difference between Softmax and Sigmoid functions?

  Related To: Logistic Regression
 Add to PDF   Mid 
Q18:   

Name some classification metrics and when would you use each one

  
 Add to PDF   Mid 
Q19:   

How does the AdaBoost algorithm work?

  Related To: Ensemble Learning
 Add to PDF   Mid 
Q20:   

How does the Naive Bayes classifier work?

  Related To: Naïve Bayes
 Add to PDF   Mid 
Q21:   

What's the difference between Generative Classifiers and Discriminative Classifiers? Name some examples of each one

  Related To: Naïve Bayes
 Add to PDF   Mid 
Q22:   

Can you choose a classifier based on the size of the training set?

  Related To: Naïve Bayes
 Add to PDF   Mid 
Q23:   

What's the difference between One-vs-Rest and One-vs-One?

  Related To: Data Processing
 Add to PDF   Mid 
Q24:   

What is the difference between a Weak Learner vs a Strong Learner and why they could be usefu?

  Related To: Ensemble Learning
 Add to PDF   Mid 
Q25:   

What's the difference between Bagging and Boosting algorithms?

  Related To: Data Processing, Ensemble Learning, Bias & Variance
 Add to PDF   Mid 
Q26:   

Could you convert Regression into Classification and vice versa?

  
 Add to PDF   Mid 
Q27:   

Provide an intuitive explanation of Linear Support Vector Machines (SVMs)

  Related To: SVM
 Add to PDF   Mid 
Q28:   

Are there any problems using Naive Bayes for Classification?

  Related To: Naïve Bayes
 Add to PDF   Senior 
Q29:   

What are the trade-offs between the different types of Classification Algorithms? How would do you choose the best one?

  Related To: Naïve Bayes, Ensemble Learning
 Add to PDF   Senior 
Q30:   

What is AIC?

  Related To: Model Evaluation
 Add to PDF   Senior 
Q31:   

Name some advantages of using Support Vector Machines vs Logistic Regression for classification

  Related To: SVM, Logistic Regression
 Add to PDF   Senior 
Q32:   

What's the difference between Random Oversampling and Random Undersampling and when they can be used?

  Related To: Data Processing
 Add to PDF   Senior 
Q33:   

How would you use a Confusion Matrix for determining a model performance?

  Related To: Model Evaluation, Data Processing
 Add to PDF   Senior 
Q34:   

How is AUC - ROC curve used in classification problems?

  Related To: Model Evaluation
 Add to PDF   Senior 
Q35:   

How would you deal with classification on Non-linearly Separable data?

  Related To: SVM
 Add to PDF   Senior 
Q36:   

How would you choose an evaluation metric for an Imbalanced classification?

  Related To: Model Evaluation
 Add to PDF   Senior 
Q37:   

How would you Calibrate Probabilities for a classification model?

  Related To: Probability
 Add to PDF   Senior 
Q38:   

When would you use SVM vs Logistic regression?

  Related To: SVM, Logistic Regression
 Add to PDF   Senior 
Q39:   

Compare Naive Bayes vs with Logistic Regression to solve classification problems

  Related To: Naïve Bayes, Logistic Regression
 Add to PDF   Senior 
Q40:   

What's the difference between ROC and Precision-Recall Curves?

  Related To: Model Evaluation
 Add to PDF   Expert 
Q41:   

Can Logistic Regression be used for an Imbalanced Classification problem?

  Related To: Logistic Regression
 Add to PDF   Expert 
Q42:   

Why would you use Probability Calibration?

  Related To: Probability
 Add to PDF   Expert 
Q43:   

How to interpret F-measure values?

  Related To: Model Evaluation
 Add to PDF   Expert 
 

Prepare for AI developer and engineer interviews with 19 answered OpenClaw questions covering Gateway architecture, channels, agent workspaces, memory, MCP, model failover, multi-agent routing, security, sandboxing, approvals, and remote operations....

Prepare for AI agent developer interviews with 15 Model Context Protocol (MCP) questions covering tools, resources, prompts, JSON-RPC, transports, roots, sampling, security, and practical MCP server design....

Amazone runs the internet as we know it. Amazon Web Services (AWS) offers a comprehensive suite of machine learning (ML) services that cater to various needs and expertise levels. Follow along and learn the 23 most common AWS machine-learning intervi...

Azure Machine Learning (Azure ML) is a cloud-based service for creating and managing machine learning solutions. It’s designed to scale, distribute, and deploy machine learning models to the cloud. Follow along and learn the 23 most common Azure Mach...
Hadoop is an open-source big data processing framework. It leverages distributed computing to store and process large datasets in a fault-tolerant manner. According to recent reports, Apache Hadoop is one of the most sought-after big data skills with...
Apache Spark is a unified analytics engine for large-scale data processing. It is built to handle various use cases in big data analytics, including data processing, machine learning, and graph processing. Follow along and learn the 23 most common an...
Scala is a powerful language with functional programming capabilities that can be a good choice for data science, especially in big data and distributed computing scenarios. As an example, Apache Spark, a popular distributed data processing framework...
PyTorch popularity as a Deep Learning framework of choice is on the rise. As of December 2022, 62% of the academic papers were implemented in PyTorch whereas only 4% were for TensorFlow. Follow along and prepare effectively with these key 30 PyTorch ...
The use of Artificial Intelligence (AI) in machine learning and data science enabled advancements in areas such as natural language processing, computer vision, recommendation systems, fraud detection, predictive analytics, and personalized medicine....
Optimization algorithms are extensively used in training machine learning models. Data engineers employ algorithms like gradient descent, stochastic gradient descent, and variants (e.g., Adam, RMSprop) to optimize the model parameters and minimize th...