(SEM VII) THEORY EXAMINATION 2023-24 MACHINE LEARNING

B.Tech Engineering 0 downloads
₹29.00

KOE073 – MACHINE LEARNING

B.Tech (SEM VII) – Theory Examination
Time: 3 Hours | Max Marks: 100

 

SECTION A

(Attempt all questions in brief – 2 × 10 = 20 marks)

 

a. What is Machine Learning?

Machine Learning is a branch of Artificial Intelligence that enables computers to learn patterns from data and improve performance on tasks without being explicitly programmed.

 

b. Steps involved in designing a learning system in Machine Learning

The main steps are:                                    Problem definition

Data collection                                           Data preprocessing

Feature selection                                        Model selection

Training                                                      Testing and evaluation


c. Explain Artificial Neural Network (ANN).

An Artificial Neural Network is a computational model inspired by the human brain. It consists of interconnected neurons organized in input, hidden, and output layers, used for pattern recognition and prediction.


d. What do you understand by Gradient Descent?

Gradient Descent is an optimization algorithm used to minimize the loss function by iteratively updating model parameters in the direction of the negative gradient.


e. Explain Bayes Classifier.

Bayes Classifier is a probabilistic classifier based on Bayes’ Theorem. It predicts class labels using prior probability and likelihood of features assuming conditional independence.


f. What are the basics of Sampling Theory?

Sampling theory deals with selecting a representative subset of data from a population to make predictions while preserving the statistical properties of the entire dataset.


g. What is the mistake bound model of learning?

The mistake bound model measures learning performance by counting the maximum number of mistakes an algorithm can make before learning the correct concept.


h. Explain Case-Based Learning.

Case-Based Learning solves new problems by comparing them with previously solved cases and adapting old solutions to new situations.


i. How do you evaluate the performance of a model based on first-order rules?

Performance is evaluated using accuracy, precision, recall, and rule coverage by testing how well the rules classify unseen examples.

 

j. What is Reinforcement Learning?

Reinforcement Learning is a learning technique where an agent learns optimal actions by interacting with the environment using rewards and penalties.

 

SECTION B

(Attempt any three – answers provided for ALL)

 

2(a). Differentiate between Supervised, Unsupervised, and Reinforcement Learning

FeatureSupervisedUnsupervisedReinforcement
DataLabeledUnlabeledFeedback-based
GoalPredictionPattern discoveryOptimal action
ExamplesClassification, RegressionClusteringGame playing

2(b). Decision Tree Terms

(i) Entropy:
Measures impurity in data.

Entropy(S)=−∑pilog⁡2piEntropy(S) = -\sum p_i \log_2 p_iEntropy(S)=−∑pi​log2​pi​

(ii) Information Gain:                           Reduction in entropy after split.

(iii) Gini Index:                                      Measures node impurity.

(iv) Gain Ratio:                                      Information gain normalized by split information.

(v) Chi-Square:                                      Statistical test to measure dependency between variables.

 

2(c). Expectation Maximization (EM) Algorithm

EM is an iterative algorithm used for parameter estimation in probabilistic models with hidden variables.

Steps:

E-Step: Estimate expected values               M-Step: Maximize likelihood

Used in clustering and Gaussian Mixture Models.

 

2(d). Backpropagation Algorithm in ANN with Example

Backpropagation trains neural networks by minimizing error.

Steps:                                                          Forward propagation

Error calculation                                          Backward propagation

Weight update

Example: Used in digit recognition systems.

 

2(e). Hypothesis Space Search

Hypothesis space is the set of all possible models.

Impact:                                                       Too small → underfitting

Too large → overfitting

Example: Linear vs polynomial regression models.

 

SECTION C

 

3(a). Inductive Bias in Machine Learning

Inductive bias refers to assumptions a learning algorithm uses to predict unseen data.

Example:
Decision trees prefer shorter trees, influencing learned models.

 

3(b). Candidate Elimination Algorithm

Maintains:

S (Specific boundary)                                  G (General boundary)

Steps:                                                             Initialize S and G

Update with positive examples                     Generalize or specialize hypotheses

Used in concept learning.

 

4(a). Forward vs Backward Propagation

Forward PropagationBackward Propagation
Computes outputUpdates weights
Input → OutputOutput → Input
Prediction phaseTraining phase

Weight calculation:

wnew=wold−η∂E∂ww_{new} = w_{old} - \eta \frac{\partial E}{\partial w}wnew​=wold​−η∂w∂E​ 

 

4(b). Single-Layer Neural Network (XOR Problem – One Iteration)

Given:

wih=0.5w_{ih} = 0.5wih​=0.5, who=−0.5w_{ho} = -0.5who​=−0.5

Learning rate = 0.1

Steps:                                                                        Forward pass using sigmoid

Compute error                                                           Backpropagate error

Update weights and biases                                        (Numerical steps shown clearly in exam)

 

5(a). Weather Dataset – Rule-Based Classification

(i) If weather is Sunny:                                             Majority output → No

(ii) Humidity = Normal & Windy = True:               Majority output → Yes

5(b). Bayes Theorem – Disease Problem

Given:                                                                          Disease probability = 1/10,000

Test accuracy = 99%

P(D∣+)=0.99×0.0001(0.99×0.0001)+(0.01×0.9999)≈0.0098P(D|+) = \frac{0.99 \times 0.0001}{(0.99 \times 0.0001) + (0.01 \times 0.9999)} \approx 0.0098P(D∣+)=(0.99×0.0001)+(0.01×0.9999)0.99×0.0001​≈0.0098

Probability ≈ 0.98%

 

6(a). Mistake Bound Model of Learning

Concept:                                                                   Bounds number of mistakes made during learning.

Benefits:                                                                   Theoretical guarantee

Simple evaluation

Limitations:                                                               Assumes linearly separable data

 

6(b). K-Nearest Neighbors (KNN)

Given points:                                                              (2,3), (5,4), (9,6), (8,1), (7,2)
Labels: A, A, B, B, B                                                     New point: (6,5), k = 3

Nearest neighbors → Majority = B                         Classified as B

 

7(a). Genetic Algorithm – Binary String Optimization

(i) Representation:                                                  Binary string of length 8

(ii) Initialization:                                                      Random population of binary strings

(iii) Operations:                                                       Selection

Crossover                                                                   Mutation

 

7(b). Types of Reinforcement

Positive reinforcement: Reward                              Negative reinforcement: Remove penalty

Punishment: Reduce reward                                     No reinforcement: No feedback

File Size
178.96 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

Graphic Designing Course Near Sector 61 Gurugram – Build Creative Skills & Start Your Design Career Gurugram
Digital Marketing Course Near Sector 62 Gurugram – Master Online Growth & Build a High-Demand Career Sector 62, Gurugram
Guitar Classes Near By Kalkaji Learn Guitar from Experts & Turn Your Musical Passion into a Lifelong Skill Kalkaji, Delhi
Zumba Classes Near Sector 130 Greater Noida – Enjoy Dance Fitness and Stay Active Sector 130, Noida
Zumba Classes Near Palam Vihar – Fun Dance Fitness for a Healthy Lifestyle Palam Vihar, Gurugram
SEO Training Near Sector 63 Gurugram – Master Search Engine Optimization & Build a High-Growth Career Sector 63, Gurugram
Diet & Nutrition Consultation Near By Nangli – Personalized Health & Wellness Guidance Nangli, Delhi
🇯🇵 Japanese Language Classes Near Sector 54 Gurugram – Learn Japanese with Expert Guidance Gurugram
Public Speaking Training Near Sector 109 Noida – Improve Confidence and Communication Skills Noida
Guitar Classes Near Sarita Vihar – Learn Guitar from Expert Trainers in South Delhi Sarita Vihar, Delhi
Personal Fitness Training Near Palam Vihar – Transform Your Body with Expert Guidance Palam Vihar, Gurugram
Spoken English Classes Near By Defence Colony Improve Communication Skills, Confidence & Career Opportunities in 2026 Defence Colony, Delhi
Guitar Classes Near By Saket Learn Guitar from Experts & Turn Your Passion into Skill in 2026 Saket, Delhi
Career Counseling Classes Near By Dwarka Mor Find the Right Direction Dwarka Mor, Delhi
Drum Lessons Near DLF Phase 4 – Learn Drumming with Electronic Drum Training at Home DLF Phase IV, Gurugram
🇪🇸 Spanish Language Classes Near Golf Course Road – Learn Spanish for Global Communication Golf Course Road, Gurugram
Diet & Nutrition Consultation Near Sector 127 Noida – A Complete Guide to Healthy Living Noida
UI/UX Designing Course Near Sector 66 Gurugram – Build a Creative & High-Paying Design Career Sector 66, Gurugram
Yoga Classes Near Sector 138 Greater Noida – Improve Health, Mind & Lifestyle Through Professional Yoga Training Noida
Yoga Classes Near Malviya Nagar Build Strength, Reduce Stress & Transform Your Lifestyle with Professional Yoga Training in 2026 Malviya Nagar, Delhi
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020