Machine Learning Interview Questions Answered for 2022

By: Jyoti Upadhyay

Different Types of Machine Learning

– Supervised Learning – Unsupervised Learning – Reinforcement Learning

Supervised learning

This model learns from the labeled data and makes a future prediction as output

Unsupervised learning

This model uses unlabeled input data and allows the algorithm to act on that information without guidance.

What is Overfitting?

A situation that occurs when a model learns the training set too well, taking up random fluctuations in training data as concepts.

Ways of avoiding overfitting

– Regularization – Making a simple model – Cross-validation methods

How to Handle Missing or Corrupted Data in a Dataset?

– IsNull() & dropna() will help to    find the columns/rows with    missing data & drop them – Fillna() will replace the wrong    values with a placeholder    value

Parameters of Confusion Matrix

– Actual – Predicted

Three Stages of Building a Model in Machine Learning

– Model Building – Model Testing – Applying the Model

What is Deep Learning?

Deep learning is a subset of machine learning that involves systems that think and learn like humans using artificial neural networks.

Applications of Supervised Machine Learning in Modern Businesses

– Email Spam Detection – Healthcare Diagnosis – Sentiment Analysis – Fraud Detection

Unsupervised Machine Learning Techniques

– Clustering – Association

When can Pruning occur?

– Top-down fashion. It will traverse nodes and trim subtrees starting at the root – Bottom-up fashion. It will begin at the leaf nodes

Explain Logistic Regression

Logistic regression is a classification algorithm used to predict a binary outcome for a given set of independent variables.

5 primary assumptions for a Linear Regression model

– Multivariate normality – No auto-correlation – Homoscedasticity – Linear relationship – No or little multicollinearity