Retrieving academic index assets...
Makaut
HomePYQsTests
Pricing
Sign Up
Makaut

The premier academic archive for MAKAUT students, providing curated previous year questions, solutions, and official syllabus resources.

Get the Mobile App
GET IT ONGoogle Play
Download on theApp Store
Download from Indus App Store
Platform
  • Home
  • PYQs
  • Question Papers
  • Viva Questions
  • Important Questions
  • Syllabus
  • Academic Tools
  • Pricing
  • Blog
Guidelines
  • Disclaimer
  • Community Guidelines
Company
  • About
  • Contact
  • FAQ
Legal
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Cookie Policy
  • Subscription Policy
© 2026 MAKAUT Study Dev Hub. All rights reserved.
Platform version: v1.0.0
Viva Questions/PEC-CS701E
Semester 7PEC-CS701E

Machine Learning (PEC-CS701E) Viva Questions and Answers

35 Questions•7 min read
Prepared from MAKAUT past-year question papers.
Practice Mode:All answers visible
Jump to Topic
Classification vs Regression (1)KNN (3)K-means vs KNN (1)Curse of Dimensionality (1)PCA (1)Overfitting/Underfitting (2)Ensemble Learning (4)Confusion Matrix (3)Evaluation Metrics (1)SVM (1)Naive Bayes (1)Probability (1)Decision Trees (2)AI/ML/DL (1)Deep Learning (1)Reinforcement Learning (2)Semi-supervised Learning (1)Unsupervised Learning (1)Clustering (2)Distance Metrics (1)Model Evaluation (1)Feature Selection (2)Matrix Factorization (1)

Classification vs Regression

1 question
Q1.EASY

What is the difference between classification and regression?

Classification predicts discrete class labels, while regression predicts continuous numeric values. For example, classifying an email as spam or not is classification, whereas predicting house prices is regression.

KNN

3 questions
Q2.EASY

Why is the odd value of 'K' preferable in KNN?

An odd value of K avoids ties in binary classification because there will always be a majority vote. For example, with K=3, one class will have at least two votes.
Q3.MEDIUM

How do we decide the value of 'K' in KNN?

We choose K by cross-validation, trying different values and selecting the one with the best validation performance. A small K can overfit, while a large K can underfit.
Q31.MEDIUM

How does the choice of distance metric affect KNN performance?

Different distance metrics (Euclidean, Manhattan, etc.) define similarity differently, affecting neighbor selection and thus classification. The choice should match the data distribution and feature types.

K-means vs KNN

1 question
Q4.MEDIUM

Compare K-means and KNN algorithms.

K-means is an unsupervised clustering algorithm that groups data into K clusters, while KNN is a supervised classification/regression algorithm that predicts based on nearest neighbors. K-means iteratively updates centroids, whereas KNN does not build an explicit model.

Curse of Dimensionality

1 question
Q5.MEDIUM

What is the curse of dimensionality?

As the number of features increases, data becomes sparse and distance measures become less meaningful. This makes it harder for algorithms like KNN to generalize well.

PCA

1 question
Q6.MEDIUM

Explain the steps of PCA.

PCA steps: standardize the data, compute the covariance matrix, find its eigenvectors and eigenvalues, sort eigenvectors by decreasing eigenvalues, and project the data onto the top k eigenvectors to reduce dimensions.

Overfitting/Underfitting

2 questions
Q7.EASY

What is the difference between overfitting and underfitting?

Overfitting occurs when a model learns noise in training data and performs poorly on new data, while underfitting occurs when a model is too simple to capture the underlying pattern. Overfitting has low bias and high variance; underfitting has high bias and low variance.
Q8.MEDIUM

How can we tackle overfitting and underfitting?

To reduce overfitting, use more data, regularization, or simpler models. To reduce underfitting, use more complex models or better features.

Ensemble Learning

4 questions
Q9.EASY

What is an ensemble model?

An ensemble model combines multiple base models to improve overall performance. It leverages the strengths of individual models and reduces their weaknesses, often leading to better accuracy and robustness.
Q10.MEDIUM

Why is ensemble learning used? What is bagging and boosting?

Ensemble learning improves predictive performance by combining multiple models. Bagging trains models in parallel on bootstrap samples to reduce variance, while boosting trains models sequentially to reduce bias.
Q11.EASY

Which ensemble model helps in reducing variance?

Bagging helps reduce variance by averaging multiple models trained on different subsets of data. Random Forest is a popular bagging-based ensemble method.
Q12.MEDIUM

What is the difference between bagging and boosting?

Bagging trains models independently on bootstrap samples and combines them by voting/averaging, reducing variance. Boosting trains models sequentially, each focusing on errors of the previous, reducing bias.

Confusion Matrix

3 questions
Q13.EASY

What is a confusion matrix and why do we need it?

A confusion matrix is a table that summarizes the performance of a classification model by showing true positives, true negatives, false positives, and false negatives. It helps compute metrics like accuracy, precision, recall, and F1-score, especially for imbalanced datasets.
Q14.EASY

Explain True Positive, True Negative, False Positive, and False Negative with an example.

In a disease test, TP: diseased and predicted diseased; TN: healthy and predicted healthy; FP: healthy but predicted diseased; FN: diseased but predicted healthy. FP is a false alarm, FN is a missed detection.
Q15.MEDIUM

What is the significance of false positive and false negative?

False positives can cause unnecessary alarm or cost, while false negatives can miss critical cases. Their significance depends on the application; for example, in cancer detection, false negatives are more dangerous.

Evaluation Metrics

1 question
Q16.MEDIUM

Explain Precision, Recall, and F1 Score.

Precision = TP/(TP+FP) measures how many predicted positives are correct. Recall = TP/(TP+FN) measures how many actual positives are found. F1 Score is the harmonic mean of precision and recall, balancing both.

SVM

1 question
Q17.MEDIUM

What are support vectors, margins, and hyperplane in SVM?

Support vectors are the data points closest to the decision boundary. The margin is the distance between the hyperplane and the support vectors. The hyperplane is the decision boundary that separates classes with maximum margin.

Naive Bayes

1 question
Q18.EASY

What is the 'naive' in Naive Bayes?

The 'naive' assumption is that features are conditionally independent given the class label. This simplifies computation but is often not true in real data, yet the algorithm still performs well.

Probability

1 question
Q19.EASY

Define conditional probability and state Bayes' theorem.

Conditional probability P(A|B) = P(A∩B)/P(B). Bayes' theorem: P(A|B) = P(B|A)P(A)/P(B), which allows updating probabilities based on new evidence.

Decision Trees

2 questions
Q20.MEDIUM

What is the ID3 algorithm and how does it use entropy and information gain?

ID3 builds a decision tree by recursively selecting the attribute with the highest information gain. Entropy measures impurity; information gain is the reduction in entropy after splitting on an attribute.
Q21.EASY

In a decision tree, what does a leaf node represent?

A leaf node represents a class label or a final decision/prediction. It has no further splits.

AI/ML/DL

1 question
Q22.EASY

What is the difference between AI, ML, and DL?

AI is the broad field of making machines intelligent. ML is a subset of AI that learns from data. DL is a subset of ML using deep neural networks with many layers.

Deep Learning

1 question
Q23.EASY

What is deep learning and give a real-world example.

Deep learning uses neural networks with multiple hidden layers to learn hierarchical representations. An example is image classification, such as recognizing objects in photos.

Reinforcement Learning

2 questions
Q24.EASY

What is reinforcement learning? Give an example.

Reinforcement learning trains an agent to take actions in an environment to maximize cumulative reward. An example is a robot learning to navigate a maze through trial and error.
Q25.MEDIUM

How can a system play chess using reinforcement learning?

The system learns by playing many games, receiving rewards for wins and penalties for losses, and updates its policy to choose better moves. It uses techniques like Q-learning or policy gradients.

Semi-supervised Learning

1 question
Q26.EASY

What is semi-supervised learning?

Semi-supervised learning uses a small amount of labeled data and a large amount of unlabeled data for training. It is useful when labeling is expensive or time-consuming.

Unsupervised Learning

1 question
Q27.EASY

What is unsupervised learning? Give an example.

Unsupervised learning finds patterns in unlabeled data. An example is clustering customers into segments based on purchasing behavior.

Clustering

2 questions
Q28.EASY

What is clustering? Name one algorithm.

Clustering groups similar data points together without predefined labels. K-means is a popular clustering algorithm.
Q29.MEDIUM

True or False: Hierarchical clustering is slower than non-hierarchical clustering.

True. Hierarchical clustering has higher time complexity, typically O(n^3) or O(n^2 log n), compared to K-means which is O(n*k*t).

Distance Metrics

1 question
Q30.EASY

What is Euclidean distance? Calculate the distance between P(3,2) and Q(4,1).

Euclidean distance is the straight-line distance between two points. For P(3,2) and Q(4,1), distance = sqrt((4-3)^2 + (1-2)^2) = sqrt(1+1) = sqrt(2) ≈ 1.414.

Model Evaluation

1 question
Q32.MEDIUM

What is cross-validation? Explain with an example.

Cross-validation evaluates model performance by splitting data into folds, training on some and testing on others. For example, in 5-fold CV, data is split into 5 parts; each part is used once as validation while the other 4 train the model.

Feature Selection

2 questions
Q33.MEDIUM

What is feature selection? Name three supervised feature selection techniques.

Feature selection selects the most relevant features to improve model performance and reduce overfitting. Three techniques: filter methods (e.g., correlation), wrapper methods (e.g., recursive feature elimination), and embedded methods (e.g., Lasso).
Q34.EASY

What are the benefits of feature selection?

Feature selection reduces overfitting, improves accuracy, reduces training time, and enhances model interpretability by removing irrelevant or redundant features.

Matrix Factorization

1 question
Q35.MEDIUM

What is matrix factorization and where is it used?

Matrix factorization decomposes a matrix into lower-dimensional matrices to uncover latent factors. It is widely used in recommender systems, such as collaborative filtering for movie recommendations.

Frequently Asked Viva Voce Questions

High-priority theoretical and lab evaluation questions typically tested by MAKAUT external examiners.

Related Course Resources

PYQMachine Learning Solved PYQs
Open resource
IMPORTANTMachine Learning Important Questions
Open resource
HUBMachine Learning Subject Overview
Open resource
SYLLABUSMachine Learning Syllabus & Handouts
Open resource

On This Page

23 Units
Classification vs Regression1
KNN3
K-means vs KNN1
Curse of Dimensionality1
PCA1
Overfitting/Underfitting2
Ensemble Learning4
Confusion Matrix3
Evaluation Metrics1
SVM1
Naive Bayes1
Probability1
Decision Trees2
AI/ML/DL1
Deep Learning1
Reinforcement Learning2
Semi-supervised Learning1
Unsupervised Learning1
Clustering2
Distance Metrics1
Model Evaluation1
Feature Selection2
Matrix Factorization1