(SEM V) THEORY EXAMINATION 2022-23 MACHINE LEARNING TECHNIQUES

B.Tech Engineering 0 downloads
₹29.00

SECTION A – Short Answer Type Questions (2 Marks each)


(a) Discuss Model Representation of Artificial Neuron.

An artificial neuron is a mathematical model inspired by a biological neuron. It processes input signals to produce an output based on weights and activation function.

Mathematical Model:

y=f(∑i=1nwixi+b)y = f\left(\sum_{i=1}^{n} w_i x_i + b\right)y=f(i=1∑n​wi​xi​+b)

where:

xix_ixi​: Input signals

wiw_iwi​: Weights

bbb: Bias

fff: Activation function (e.g., sigmoid, ReLU)

yyy: Output


Explanation:

Inputs are multiplied by weights and summed with bias.

The activation function introduces non-linearity.

The neuron "fires" (produces output) if the total input exceeds a threshold.


Example: Used in perceptrons and neural networks for pattern recognition.


(b) Differentiate Between Gradient Descent and Stochastic Gradient Descent.

FeatureGradient Descent (GD)Stochastic Gradient Descent (SGD)
Data ProcessingUses the entire dataset for one update.Updates parameters after each sample.
SpeedSlower for large datasets.Faster convergence with noise.
AccuracyMore stable and precise.May fluctuate around minimum.
Memory RequirementHigh (needs all samples).Low (one sample at a time).

Conclusion:
SGD is preferred for large datasets and online learning, while GD suits small or static datasets.


 SECTION B – Long Answer Type Questions (10 Marks each)


(a) Explain Supervised and Unsupervised Learning Techniques.

1. Supervised Learning:

Input data is labeled, meaning the correct output is known.

The model learns a mapping function f(x)→yf(x) → yf(x)→y.


Examples:

Regression: Predicting house prices.                      Classification: Spam email detection.

Algorithms: Linear Regression, Decision Trees, SVM, Neural Networks.


2. Unsupervised Learning:

No labeled outputs; the model finds hidden patterns in data.


Examples:

Clustering: Customer segmentation using K-Means.

Association: Market basket analysis using Apriori algorithm.


Key Difference:
Supervised learning focuses on prediction, while unsupervised focuses on pattern discovery.


(b) Explain Various Types of Activation Functions with Examples.

Activation functions introduce non-linearity to neural networks, enabling complex pattern learning.


1. Step Function:

f(x)={1if x≥00if x<0f(x) = \begin{cases} 1 & \text{if } x ≥ 0 \\ 0 & \text{if } x < 0 \end{cases}f(x)={10​if x≥0if x<0​

Used in perceptrons.


2. Sigmoid Function:

f(x)=11+e−xf(x) = \frac{1}{1 + e^{-x}}f(x)=1+e−x1​

Smooth curve; output between 0 and 1. Used in binary classification.


3. Tanh Function:

f(x)=tanh⁡(x)f(x) = \tanh(x)f(x)=tanh(x)

Range = (-1, 1); centered around zero.


4. ReLU (Rectified Linear Unit):

f(x)=max⁡(0,x)f(x) = \max(0, x)f(x)=max(0,x)

Efficient for deep networks; reduces vanishing gradient problem.


5. Leaky ReLU:
Allows small negative slope for negative inputs to avoid dead neurons.


SECTION C – Very Long Answer Type Questions (10 Marks each)


(a) Demonstrate K-Nearest Neighbors (KNN) Algorithm for Classification with Example.

Definition:
KNN is an instance-based learning algorithm that classifies a new sample based on the majority label of its K nearest neighbors.


Algorithm Steps:

Choose the number of neighbors KKK.

Compute distance between test sample and all training samples (e.g., Euclidean distance).

Select K nearest samples.

Assign the most frequent class label among them to the test point.


Example:
If K=3 and among the nearest points two belong to class “A” and one to “B,” the new point is classified as 
Class A.


Applications:

Image recognition.

Recommendation systems.


(b) Explain Different Layers Used in Convolutional Neural Network (CNN) with Suitable Examples.


1. Input Layer:
Accepts image data (e.g., 28×28×3 for RGB).


2. Convolutional Layer:
Applies filters to extract features like edges or textures.

Y=X∗W+bY = X * W + bY=X∗W+b

Example: Edge detection using 3×3 filter.


3. Activation Layer (ReLU):
Applies non-linearity to feature maps.


4. Pooling Layer:
Reduces spatial dimensions using Max or Average Pooling, retaining important information.


5. Fully Connected Layer:
Combines all extracted features for classification.


6. Output Layer:
Applies softmax activation for multi-class classification (e.g., handwritten digit recognition).

File Size
102.02 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

Legal Documentation Assistance Near Sector 102A Gurugram (Dwarka Expressway) – Reliable, Professional & Hassle-Free Services Village Dhankot, Sector 102, Gurugram
Home Tuition (All Subjects) Near Sector 88 Gurugram – Personalized Learning for Academic Excellence Sector 88, Gurugram
UI/UX Designing Classes Near By Kirti Nagar – Build a Creative Tech Career Kirti Nagar, Delhi
Fashion Designing Course Near Sector 81 Gurugram – Turn Your Creativity into a Successful Career Sector 81, Gurugram
Graphic Designing Course Near Sector 61 Gurugram – Build Creative Skills & Start Your Design Career Gurugram
Singing / Vocal Training Near Sector 148 Noida – Professional Vocal Coaching for All Levels Noida
Photography Basics Classes Near By Dwarka Mor – Learn the Art Behind the Lens Dwarka Mor, Delhi
Spoken English Classes Near By Punjabi Bagh Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Punjabi Bagh, Delhi
Candle Making Classes In Dwarka Mor – Learn the Art of Handmade Candle Crafting Dwarka Mor, Delhi
Yoga Classes Near By Tilak Nagar Holistic Wellness, Stress Relief & Stronger Mind-Body Balance Tilak Nagar, Delhi
🇯🇵 Japanese Language Classes Near Sector 54 Gurugram – Learn Japanese with Expert Guidance Gurugram
French Language Classes Near By Uttam Nagar – Learn French with Confidence Uttam Nagar, Delhi
Spoken English Classes Near Khanna Market By Improve Fluency, Build Confidence & Unlock Global Opportunities in 2026 Khanna Market, Delhi
Meditation Coaching Near Sector 124 Noida – A Complete Guide to Mental Peace and Mindfulness Noida
Yoga Classes Near Sector 137 Greater Noida – Improve Health, Fitness and Mental Well-Being Through Professional Yoga Training Sector 137, Noida
Spoken English Classes Near By Malviya Nagar Build Confidence, Improve Fluency & Unlock Career Opportunities in 2026 Malviya Nagar, Delhi
Keyboard / Piano Classes Near DLF Phase 3 – Learn Music with Professional Training DLF Phase 3, Gurugram
Dance Classes (Bollywood, Hip-Hop, Classical) Near Palam Vihar Extension – Learn Dance with Professional Trainers New Palam Vihar, Gurugram
Resume & Interview Coaching Near Sector 102 Gurugram (Dwarka Expressway) – Build Confidence, Crack Interviews, Get Hired Sector 102, Gurugram
Diet & Nutrition Consultation Near Vatika City, Gurugram – Your Path to Healthy Living Vatika City, Gurugram
⭐ 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