Deep Learning & Machine Learning
Deep Learning & Machine Learning
Answer Submitted.
X
gireesh218@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Machine Learning and Deep Learning - Fundamentals and Applications (course)
Announcements (announcements) About the Course (preview) Q&A (forum) Progress (student/home) Mentor (student/mentor)
⎡ 8 x 0⎤
⎢ 4 2⎥
How does an NPTEL
0
⎣ 12 0⎦
online course work? ()
Week 0: Prerequisite ()
6
2
Practice: Week 0:
Assignment 0 3
4
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=16&assessment=133 1/6
10/3/24, 11:30 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 3 - Week 0: Prerequisite
(assessment? 5
name=133)
Yes, the answer is correct.
Week 1: Introduction () Score: 1
Accepted Answers:
4
Week 2: Bayesian
Decision Theory () 2) If A is a real square matrix then AAT is 1 point
Week 5: Logistic 3) Let A be 3X3 matrix with rank 2. Then AX=0 has 1 point
Regression, Decision
Trees and Hidden
Only trivial solution X=0
Markov Model () One independent solution
Two independent solution
Week 6 - Ensemble Three independent solution
Methods ()
Yes, the answer is correct.
Score: 1
Week 7:
Accepted Answers:
Dimensionality
One independent solution
Problem ()
⎡1 1 1⎤
4) 1 point
1
Week 9: Clustering ()
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=16&assessment=133 2/6
10/3/24, 11:30 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 3 - Week 0: Prerequisite
6) Four fair coins are tossed simultaneously. The probability that at least one head and one tails turn up is 1 point
1
16
1
8
7
8
15
16
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=16&assessment=133 3/6
10/3/24, 11:30 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 3 - Week 0: Prerequisite
7) A bag I contains 4 white balls and 6 black balls. Another bag II contains 4 white balls and 3 black balls. One ball is selected 1 point
at random from one of the bags and it is found to be black. Find the probability that it was drawn from bag I?
2
3
4
9
3
5
7
12
Yes, the answer is correct.
Score: 1
Accepted Answers:
7
12
8) The standard deviation of a uniformly distributed random variable between 0 and 1 is 1 point
1
√12
1
√3
5
√12
7
√12
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=16&assessment=133 4/6
10/3/24, 11:30 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 3 - Week 0: Prerequisite
Score: 1
Accepted Answers:
1
√12
9) If a random variable X satisfies the Poisson’s distribution with a mean value of 2, then the probability that X>2 is 1 point
2e−2
1 − 2e−2
3e−2
1 − 3e−2
Yes, the answer is correct.
Score: 1
Accepted Answers:
1 − 3e−2
′
10) Compute the derivative f (x) of the logistic sigmoid 1 point
1
1+e− x
1
1
e− x
0
Yes, the answer is correct.
Score: 1
Accepted Answers:
1
1+e− x
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=16&assessment=133 5/6
10/3/24, 11:30 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 3 - Week 0: Prerequisite
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=16&assessment=133 6/6
10/3/24, 11:32 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 4 - Week 1: Introduction
gireesh218@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Machine Learning and Deep Learning - Fundamentals and Applications (course)
Announcements (announcements) About the Course (preview) Q&A (forum) Progress (student/home) Mentor (student/mentor)
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=18&assessment=134 1/5
10/3/24, 11:32 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 4 - Week 1: Introduction
Quiz: Assignment 1 3) In a binary classification problem, a classifier correctly predicts 90 instances as positive, incorrectly predicts 15 1 point
(assessment?
instances as positive when they are negative, correctly predicts 90 instances as negative, and incorrectly predicts 10
name=134)
instances as negative when they are positive. What is the accuracy of the classifier?
Assignment Solution
(unit?unit=18&lesson=69) 80
85
Week 2: Bayesian
87.8
Decision Theory ()
95
Week 3- Parametric Yes, the answer is correct.
Approaches and Non- Score: 1
Parametric Density Accepted Answers:
Estimation () 87.8
Week 4: Perceptron 4) For the above question find the F1 score? 1 point
Criteria and
Discriminative Models 78.2%
() 85%
87.8%
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=18&assessment=134 2/5
10/3/24, 11:32 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 4 - Week 1: Introduction
Week 11: Introduction 6) What is the variance of the model for the data given in the above question? 1 point
to Deep Neural
Networks () 0
-1
Problem Solving 2.2
Session - July 2024 ()
None of the above
7) Given X = {-2, -1, 0, 1, 2, 3, 4, 5, 6, 7} and the corresponding Y = {-0.5267, 1.3517, 3.8308, 5.5853, 7.5497, 9.9172, 1 point
11.2858, 13.7572, 15.7537, 17.3804}. Find the parameters of the linear regression model.
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=18&assessment=134 3/5
10/3/24, 11:32 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 4 - Week 1: Introduction
2.0065, 4.0312
2.0065, 3.5722
1.9214, 3.5722
None of the above
0.05783
0.04247
0.04876
None of the above
It can be too simple to understand the patterns of the data used in the training.
An excellent performance in the training data, but has a significant decrease in performance when
evaluating the test data.
The model fits the test data better.
The model becomes less sensitive to the training data.
Yes, the answer is correct.
Score: 1
Accepted Answers:
An excellent performance in the training data, but has a significant decrease in performance when
evaluating the test data.
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=18&assessment=134 4/5
10/3/24, 11:32 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 4 - Week 1: Introduction
10) Which of the following techniques is used to prevent overfitting in machine learning? 1 point
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=18&assessment=134 5/5
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment 1: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
3. Given, TP = 90, TN = 90, FP = 15, FN = 10
gy
𝑇𝑃 + 𝑇𝑁 90 + 90
Accuracy = 𝑇𝑃 + 𝑇𝑁 + 𝐹𝑃 + 𝐹𝑁
= 90 + 90 + 15 + 10
= 87.8%
lo
4. Precision ( P ) =
𝑇𝑃
𝑇𝑃 + 𝐹𝑃
=
90
90 + 15
no
= 0.8571
ch
Te
𝑇𝑃 90
Recall ( R ) = = = 0.9
of
𝑇𝑃 + 𝐹𝑃 90 + 10
te
itu
2
(𝑌𝑝𝑟𝑒𝑑 − 𝑌 ) = [1, 1, 4, 1, 4]
di
In
2
6. Average of (𝑌𝑝𝑟𝑒𝑑 − 𝑌 ) = 2.2 -> This is the variance
7. From the linear regression model we have two equations to obtain the optimum value of a & b,
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment 4: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
1 1
𝑛
∑ 𝑦 = 𝑎( 𝑛 ∑ 𝑘) + 𝑏 ⇒ 8. 58851 = 2. 5𝑎 + 𝑏
𝑖 𝑖
Gu
gy
1 2
∑ 𝑥𝑖𝑦𝑖 = 𝑛𝑏( 𝑛 ∑ 𝑥) + 𝑎 ∑ 𝑥𝑖 ⇒ 380. 2522 = 145𝑎 + 25𝑏
lo
𝑖 𝑖 𝑖
8. Using the equation 𝑦 = 2.0065x + 3.5722, we get the predicted values of y i.e., 𝑦
te
Thus, 𝑦 = [-0.4408, 1.5657, 3.5722, 5.5786, 7.5852, 9.5917, 11.5982, 13.6047, 15.6112,
itu
17.6177]
st
In
1 2
Now MSE is given by, E = 10
∑ (𝑦[𝑖] − 𝑦[𝑖]) = 0.04247
𝑖=1
an
di
In
In
di
an
In
st
itu
te
of
Te
ch
no
lo
gy
Gu
wa
ha
ti
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
10/3/24, 11:33 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 5 - Week 2: Bayesian Decision Theory
gireesh218@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Machine Learning and Deep Learning - Fundamentals and Applications (course)
Announcements (announcements) About the Course (preview) Q&A (forum) Progress (student/home) Mentor (student/mentor)
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=26&assessment=135 1/5
10/3/24, 11:33 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 5 - Week 2: Bayesian Decision Theory
Assignment Solution 3) For the above question, Are C and F independent in the given Bayesian network? 1 point
(unit?unit=26&lesson=67)
Yes.
Lecture Notes (unit?
unit=26&lesson=89) No.
Can't say.
Quiz: Assignment 2
(assessment? Insufficient information.
name=135)
Yes, the answer is correct.
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=26&assessment=135 2/5
10/3/24, 11:33 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 5 - Week 2: Bayesian Decision Theory
Score: 1
Week 3- Parametric Accepted Answers:
Approaches and Non- No.
Parametric Density
Estimation () 4) Bayes' decision theory assumes that: 1 point
5) Assume that the word ‘offer’ occurs in 80% of the spam messages in my account. Also, let’s assume ‘offer’ occurs in 10% of my 1 point
Week 6 - Ensemble
desired e-mails. If 30% of the received e-mails are considered as a scam, and I will receive a new message which contains ‘offer’, what is the
Methods ()
probability that it is spam?
Week 7: 0.778
Dimensionality
0.774
Problem ()
0.668
Week 8: Mixture Model 0.664
and Clustering ()
Yes, the answer is correct.
Score: 1
Week 9: Clustering () Accepted Answers:
0.774
Week 10: Artificial
Neural Network () 1.
6) The optimal decision in Bayes Decision Theory is the one that 1 point
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=26&assessment=135 3/5
10/3/24, 11:33 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 5 - Week 2: Bayesian Decision Theory
9) The risk-based Bayesian decision rule accounts for the consequences of different decisions by considering the: 1 point
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=26&assessment=135 4/5
10/3/24, 11:33 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 5 - Week 2: Bayesian Decision Theory
10) The generalized form of a Bayesian network that represents and solves decision problems under uncertain knowledge is known 1 point
as an?
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=26&assessment=135 5/5
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
<Assignment NO 2>: Detailed Solution
Indian Institute of Technology Guwahati
10/3/24, 11:34 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 6 - Week 3- Parametric Approaches and Non- Parametric Density Estimation
gireesh218@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Machine Learning and Deep Learning - Fundamentals and Applications (course)
Announcements (announcements) About the Course (preview) Q&A (forum) Progress (student/home) Mentor (student/mentor)
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=38&assessment=141 1/6
10/3/24, 11:34 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 6 - Week 3- Parametric Approaches and Non- Parametric Density Estimation
Lecture Notes (unit? 4) There are 18 points in an axis plane namely - 1 point
unit=38&lesson=90)
[(0.8, 0.8)t , (1, 1)t , (1.2, 0.8)t , (0.8, 1.2)t , (1.2, 1.2)t ],
Quiz: Week 03 : belong to class 1;
Assignment 03 [(4, 3)t , (3.8, 2.8)t , (4.2, 2.8)t , (3.8, 3.2)t (4.2, 3.2)t , (4.4, 2.8)t , (4.4, 4.4)t ] ,
(assessment? belong to class 2;
name=141) [(3.2, 0.4)t , (3.2, 0.7)t , (3.8, 0.5)t , (3.5, 1)t , (4, 1)t , (4, 0.7)t ],
belong to class 3.
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=38&assessment=141 2/6
10/3/24, 11:34 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 6 - Week 3- Parametric Approaches and Non- Parametric Density Estimation
Week 9: Clustering ()
6) Suppose that X is a discrete random variable with the following probability 1 point
mass function: where is a parameter.
Week 10: Artificial
(0 ≤ θ ≤ 1)
Neural Network ()
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=38&assessment=141 3/6
10/3/24, 11:34 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 6 - Week 3- Parametric Approaches and Non- Parametric Density Estimation
Problem Solving 2
Session - July 2024 () 1
0.5
Download ()
0
7) Which of the following statements are true about k - nearest neighbor (KNN)- 1 point
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=38&assessment=141 4/6
10/3/24, 11:34 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 6 - Week 3- Parametric Approaches and Non- Parametric Density Estimation
9) Consider single observation X that depends on a random parameter .Suppose θ has a prior distribution 1 point
1
λ+X
1
λ−X
λ
X
X
Yes, the answer is correct.
Score: 1
Accepted Answers:
1
λ+ X
10) The MLE for the data samples X = {x 1 , x 2 , … , x i, … , x k } with the Bernoulli distribution is 1 point
n ⋅ xk
xk
n
Mean of x i
None
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=38&assessment=141 5/6
10/3/24, 11:34 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 6 - Week 3- Parametric Approaches and Non- Parametric Density Estimation
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=38&assessment=141 6/6
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 03: Detailed Solution
Indian Institute of Technology Guwahati
Q.4. Solution - Given distances from point 𝑃 to the points 𝑋1 to 𝑋18 are as follows:
𝑑(𝑋1 , 𝑃) = 3.54, 𝑑(𝑋2 , 𝑃) = 3.29, 𝑑(𝑋3 , 𝑃) = 3.16, 𝑑(𝑋4 , 𝑃) = 3.45, 𝑑(𝑋5 , 𝑃) = 3.06,
𝑑(𝑋6 , 𝑃) = 1.22, 𝑑(𝑋7 , 𝑃) = 1.08, 𝑑(𝑋8 , 𝑃) = 1.00, 𝑑(𝑋9 , 𝑃) = 1.46, 𝑑(𝑋10 , 𝑃) = 1.40,
𝑑(𝑋11 , 𝑃) = 1.01, 𝑑(𝑋12, 𝑃) = 2.60, 𝑑(𝑋13 , 𝑃) = 1.72, 𝑑(𝑋14 , 𝑃) = 1.49, 𝑑(𝑋15 , 𝑃) = 1.36,
𝑑(𝑋16 , 𝑃) = 1.06, 𝑑(𝑋17, 𝑃) = 0.824, 𝑑(𝑋18 , 𝑃) = 1.12.
For 𝑘 = 5, the nearest neighbors to point 𝑃 are:
{(𝑋17 , 𝑐𝑙𝑎𝑠𝑠 − 3), (𝑋8 , 𝑐𝑙𝑎𝑠𝑠 − 2), (𝑋11 , 𝑐𝑙𝑎𝑠𝑠 − 2), (𝑋16 , 𝑐𝑙𝑎𝑠𝑠 − 3), (𝑋7 , 𝑐𝑙𝑎𝑠𝑠 − 2)}
Since the majority of the nearest neighbors belong to class 2, the point 𝑃 is classified as belonging
to class 2.
Q.6. Solution - Given that the samples are (3,0,2,1,3,2,1,0,2,1), the likelihood function is:
𝐿(𝜃) = 𝑃(𝑋 = 3)𝑃(𝑋 = 0)𝑃(𝑋 = 2)𝑃(𝑋 = 1)𝑃(𝑋 = 3)𝑃(𝑋 = 2)𝑃(𝑋 = 1)𝑃(𝑋 = 0)𝑃(𝑋
= 2)𝑃(𝑋 = 1)
𝑛 3
2𝜃 2 𝜃 3 2(1 − 𝜃) 1−𝜃 2
𝐿(𝜃) = ∏ 𝑃 (𝑋𝑖 ∣ 𝜃) = ( ) ( ) ( ) ( )
3 3 3 3
𝑖=1
2 1 2 1
𝑙(𝜃) = 2 (ln + ln𝜃) + 3 (ln + ln𝜃) + 3 (ln + ln(1 − 𝜃)) + 2 (ln + ln(1 − 𝜃))
3 3 3 3
= 𝐶 + 5ln𝜃 + 5ln(1 − 𝜃)
2 1 2 1
where 𝐶 = 2ln 3 + 3ln 3 + 3ln 3 + 2ln 3 is a constant.
𝜃̂MLE = 0.5
Q.7. Solution - Odd value of “K” preferred over even values. and
Does more computation on test time rather than train time.
Simplifying, we get:
𝐿(𝑝) = ∏ 𝑝 𝑥𝑖 (1 − 𝑝)1−𝑥𝑖
𝑖=1
From the provided options, the correct answer is: Mean of 𝑥𝑖 (i.e., 𝑝̂ = Mean of𝑥𝑖 )
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 03: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 03: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 03: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 03: Detailed Solution
Indian Institute of Technology Guwahati
10/3/24, 11:35 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 7 - Week 4: Perceptron Criteria and Discriminative Models
gireesh218@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Machine Learning and Deep Learning - Fundamentals and Applications (course)
Announcements (announcements) About the Course (preview) Q&A (forum) Progress (student/home) Mentor (student/mentor)
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=45&assessment=142 1/5
10/3/24, 11:35 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 7 - Week 4: Perceptron Criteria and Discriminative Models
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=45&assessment=142 2/5
10/3/24, 11:35 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 7 - Week 4: Perceptron Criteria and Discriminative Models
Week 5: Logistic
Regression, Decision ∂E
Wij (t + 1) = Wij (t) + α ∂W ,0 ≤ α ≤ 1
ij
Trees and Hidden
Markov Model () ∂E
Wij (t + 1) = Wij (t) − α ∂W ,0 ≤ α ≤ 1
ij
Week 6 - Ensemble
∂E
Methods () Wij (t + 1) = α ∂W ,0 ≤ α ≤ 1
ij
∂E
Week 7: Wij (t + 1) = −α ∂W ,0 ≤ α ≤ 1
ij
Dimensionality
Problem () Yes, the answer is correct.
Score: 1
Accepted Answers:
Week 8: Mixture Model ∂E
and Clustering ()
Wij (t + 1) = Wij (t) − α ∂W ,0 ≤ α ≤ 1
ij
Week 9: Clustering () 6) A 4-input neuron has weights 3, 4, 5 and 6. The transfer function is linear with the constant of proportionality being equal to 3. 1 point
The inputs are 6, 12, 10 and 20 respectively. What will be the output?
Week 10: Artificial
Neural Network () 238
76
Week 11: Introduction 708
to Deep Neural
123
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=45&assessment=142 3/5
10/3/24, 11:35 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 7 - Week 4: Perceptron Criteria and Discriminative Models
Using Support vector machine algorithm, the Marginal line for the classification can be calculated as-
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=45&assessment=142 4/5
10/3/24, 11:35 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 7 - Week 4: Perceptron Criteria and Discriminative Models
Positive
Negative
Both class
Can't say
10) What is the main objective of a Support Vector Machine (SVM)? 1 point
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=45&assessment=142 5/5
NPTEL Online Certification Course
Machine Learning and Deep Learning” Fundamentals and Applications
Assignment 4: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
6. The output is found by multiplying the weights with their respective inputs, summing the results
Gu
and multiplying with the transfer function. Therefore,
Output = 3 x (3 x 6 + 4 x 12 + 5 x 10 + 6 x 20)
gy
= 3 x (18 + 48 + 50 + 120)
lo
= 708
no
8.
ch
Te
of
te
itu
st
In
an
di
In
9. For a new sample (0.5, 0.5), the class is determined by substituting it in the marginal line
calculated in the above solutions.
Thus, -7.20 (0.5) - 9.173 (0.5) + 9.085 = 0.895, which is a positive number.
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
10/3/24, 11:36 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 8 - Week 5: Logistic Regression, Decision Trees and Hidden Markov Model
gireesh218@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Machine Learning and Deep Learning - Fundamentals and Applications (course)
Announcements (announcements) About the Course (preview) Q&A (forum) Progress (student/home) Mentor (student/mentor)
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=53&assessment=146 1/6
10/3/24, 11:36 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 8 - Week 5: Logistic Regression, Decision Trees and Hidden Markov Model
Quiz: Week 05 :
Assignment 05
(assessment?
name=146)
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=53&assessment=146 2/6
10/3/24, 11:36 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 8 - Week 5: Logistic Regression, Decision Trees and Hidden Markov Model
Assignment Solution 4) The dataset of pass or fail in an exam for five students are given in the table. 1 point
(unit?unit=53&lesson=96)
Week 6 - Ensemble
Methods ()
Week 7:
Dimensionality
Problem ()
Week 9: Clustering () Calculate the probability of pass for student who studies 34 hours.
Week 10: Artificial Assume the model suggested by the optimizer for odds of passing the course is:
Neural Network ()
log(odds) = - 64 + 2 x hours
5) Which of the following is used to measure the quality of a split in a decision tree? 1 point
Information gain
Gini index
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=53&assessment=146 3/6
10/3/24, 11:36 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 8 - Week 5: Logistic Regression, Decision Trees and Hidden Markov Model
Entropy
All of the above
Yes, the answer is correct.
Score: 1
Accepted Answers:
All of the above
6) There are six instances for attributes a1 and a2, with positive and negative classification results given below: 1 point
0.0523
0.0817
0.025
0
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=53&assessment=146 4/6
10/3/24, 11:36 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 8 - Week 5: Logistic Regression, Decision Trees and Hidden Markov Model
Temporal model
Reality model
Probabilistic model
All the above
9) Which allows for a simple and matrix implementation of all the basic algorithm? 1 point
HMM
Restricted structure of HMM
Temporary model
Reality model
10) Once a day (e.g. at noon), the weather is observed as one of 1 point
State 1: Rainy (R); State 2: Cloudy (C); State 3: Sunny (S)
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=53&assessment=146 5/6
10/3/24, 11:36 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 8 - Week 5: Logistic Regression, Decision Trees and Hidden Markov Model
Given that the weather on day 1 is sunny, what is the probability that the weather for the next 7 days will be "sunny-sunny-rainy-rainy-rainy-
cloudy-sunny"?
1.536 ∗ 10−4
1.536 ∗ 10−3
1.356 ∗ 10−4
1.356 ∗ 10−3
No, the answer is incorrect.
Score: 0
Accepted Answers:
1.536 ∗ 10−4
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=53&assessment=146 6/6
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
<Assignment NO 5>: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
10/3/24, 11:37 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 9 - Week 6 - Ensemble Methods
gireesh218@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Machine Learning and Deep Learning - Fundamentals and Applications (course)
Announcements (announcements) About the Course (preview) Q&A (forum) Progress (student/home) Mentor (student/mentor)
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=59&assessment=149 1/5
10/3/24, 11:37 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 9 - Week 6 - Ensemble Methods
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=59&assessment=149 2/5
10/3/24, 11:37 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 9 - Week 6 - Ensemble Methods
(assessment? Bagging
name=149)
Yes, the answer is correct.
Assignment Solution Score: 1
(unit?unit=59&lesson=97) Accepted Answers:
Bagging
Week 7:
Dimensionality 5) Bagging techniques combine the predictions of base models by: 1 point
Problem ()
Taking the average of their predictions
Week 8: Mixture Model Taking the maximum or majority vote of their predictions
and Clustering () Weighting the predictions based on their performance
Ignoring the predictions of the base models
Week 9: Clustering ()
Yes, the answer is correct.
Score: 1
Week 10: Artificial
Accepted Answers:
Neural Network () Taking the maximum or majority vote of their predictions
Week 11: Introduction 6) In the third iteration of AdaBoost, the weight assigned to a misclassified data point is 0.4. If the initial weight 1 point
to Deep Neural
for all data points is 1, what was the misclassification rate of this data point at the end of the second iteration?
Networks ()
70%
Problem Solving
90%
Session - July 2024 ()
81%
Download () 86%
7) Which of the following does bagging help to reduce in machine learning models? (Select all that apply) 1 point
Model variance
Bias
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=59&assessment=149 3/5
10/3/24, 11:37 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 9 - Week 6 - Ensemble Methods
Overfitting
Model complexity
Large datasets
Linear and nonlinear data
Classification and regression tasks
All of the above
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=59&assessment=149 4/5
10/3/24, 11:37 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 9 - Week 6 - Ensemble Methods
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=59&assessment=149 5/5
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 06: Detailed Solution
Indian Institute of Technology Guwahati
Q.3. Solution - The probability of a classifier being correct is p = 0.6 and incorrect is 1-p = 0.4.
The ensemble will be correct if at least 3 out of 5 classifiers are correct.
We can calculate the probability for 3, 4, and 5 classifiers being correct using the binomial
distribution formula:
P ( X= k )= n pk (1− p )
() n− k
Q.6. Solution - In AdaBoost, the weight of a misclassified data point is updated as:
(𝑡+1) (𝑡)
𝑤𝑖 = 𝑤𝑖 × exp(𝛼𝑡 )
Given that the weight for a misclassified data point in the third iteration is 0.4, we have:
0.4 = 1 × exp(𝛼2 )
Thus,
𝛼2 = ln(0.4) ≈ −0.916
Using:
1 1 − 𝑒2
𝛼2 = ln ( )
2 𝑒2
Q.9. Solution - The number of instances that use a particular feature for splitting.
gireesh218@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Machine Learning and Deep Learning - Fundamentals and Applications (course)
Announcements (announcements) About the Course (preview) Q&A (forum) Progress (student/home) Mentor (student/mentor)
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=71&assessment=150 1/5
10/3/24, 11:38 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 10 - Week 7: Dimensionality Problem
Decision Theory () 1
√2
2) ⎡4 2⎤
⎡1 2⎤
1 point
⎢5 0⎥
Week 4: Perceptron
⎢2 3⎥ ⎢ ⎥
⎢ ⎥ ⎢5 2⎥
Criteria and
For class independent LDA for two classes w1 = ⎢
⎢3 3 ⎥ and w2 = ⎢
⎥
⎢3
⎥ to cluster into two groups. The new
2⎥
Discriminative Models
⎢ ⎥ ⎢ ⎥
() ⎢4 5⎥ ⎢ ⎥
⎣5 ⎦ ⎢5 3⎥
Week 5: Logistic
5 ⎣6 3⎦
Regression, Decision transformation point will be
Trees and Hidden
Markov Model () (−2.453, 2.671)
(−1.457, 1.598)
Week 6 - Ensemble (−1.326, 1.473)
Methods ()
(−2.142, 2.351)
Week 7: No, the answer is incorrect.
Dimensionality Score: 0
Problem () Accepted Answers:
(−1.457, 1.598)
Lec 26: Dimensionality
Problem and Principal 3) After applying PCA, one of the components is (0.5, 0.5, 0.5, 0.5). The other components are? 1 point
Component Analysis 1. (0.5,0.5,0,0)
(unit?unit=71&lesson=72) 2. (0,0,-0.5,-0.5)
3. (0.5,0.5,-0.5,-0.5)
Lec 27: Principal
4. (-0.5,-0.5,0.5,0.5)
Component Analysis
(unit?unit=71&lesson=73)
1, 2
Lec 28: Linear
Discriminant Analysis 1, 3
2, 4
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=71&assessment=150 2/5
10/3/24, 11:38 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 10 - Week 7: Dimensionality Problem
9 9
Assignment Solution
[ ]
(unit? 9 9
unit=71&lesson=160)
18 18
Week 8: Mixture Model [ ]
18 18
and Clustering ()
No, the answer is incorrect.
Score: 0
Week 9: Clustering ()
Accepted Answers:
9 9
Week 10: Artificial [ ]
9 9
Neural Network ()
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=71&assessment=150 3/5
10/3/24, 11:38 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 10 - Week 7: Dimensionality Problem
7) In PCA, if you choose to retain 'k' principal components, what is the result in terms of dimensionality? 1 point
Dimensionality increases
Dimensionality decreases
Dimensionality remains unchanged
Dimensionality is multiplied by 'k'
Yes, the answer is correct.
Score: 1
Accepted Answers:
Dimensionality decreases
8) PCA is sensitive to the scale of the data. To ensure accurate results, you should- 1 point
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=71&assessment=150 4/5
10/3/24, 11:38 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 10 - Week 7: Dimensionality Problem
10) The number of linear discriminants that can be obtained in LDA is equal to: 1 point
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=71&assessment=150 5/5
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment 7: Detailed Solution
ti
Indian Institute of Technology Guwahati
ha
wa
Gu
1. Here, 𝑥 = 0 and 𝑦 = 0
gy
𝑉𝑎𝑟(𝑋) 𝐶𝑜𝑣(𝑋,𝑌) 1 20 20
Therefore, C = ⎡⎢ ⎤⎥ =
3
⎡⎢ ⎤⎥
⎣ 𝐶𝑜𝑣(𝑌,𝑋) 𝑉𝑎𝑟(𝑌) ⎦ ⎣ 20 20 ⎦
lo
Correspnding eigen values: |C - λ𝐼| = 0 ⇒ λ1 =
no 20
3
and λ2 = 0.
ch
Te
1
⎡ ⎤
itu
2
By solving the above equation, 𝑣1 = ⎢ ⎥
⎢ 1
⎥
⎣ 2 ⎦
st
In
2. For ω1,
3
μ1 = ⎡⎢ ⎤⎥
an
⎣ 3.6 ⎦
di
𝑇 2.5 2
𝑆1 = ∑ (x - μ1)(𝑥 − μ1) = ⎡⎢ ⎤⎥
⎣ 2 1.8 ⎦
In
𝑥 ∈ ω1
For ω2,
4.66
μ2 = ⎡⎢ ⎤⎥
⎣ 2 ⎦
𝑇 1.06 0.2
𝑆2 = ∑ (x - μ2)(𝑥 − μ2) = ⎡⎢ ⎤⎥
𝑥 ∈ ω2 ⎣ 0.2 1.2 ⎦
3.56 2.2
Now, 𝑆𝑊 = 𝑆1 + 𝑆2 = ⎡⎢ ⎤⎥
⎣ 2.2 3 ⎦
𝑇 2.75 −2.65
𝑆𝐵 = (μ1 − μ2 )(μ1 − μ2) = ⎡⎢ ⎤⎥
⎣ −2.65 2.56 ⎦
ti
ha
* −1 −1.457
𝑤 = 𝑆𝑊 (μ1 − μ2 ) = ⎡⎢ ⎤⎥
wa
⎣ 1.598 ⎦
Gu
3. One of the component is given as (0.5, 0.5, 0.5, 0.5), the other components needs to be
orthonormal, which means their dot product should be 0 and their length should be 1.
gy
Now, Option 1 - (0.5, 0.5, 0, 0)
lo
Orthogonality - (0.5)(0.5) + (0.5)(0.5) + 0 + 0 = 0.5 ≠ 0
Therefore, not orthogonal
no
ch
Te
2 2 2 2
Length = (0. 5) + (0. 5) + (− 0. 5) + (− 0. 5) = 1
an
di
Therefore, option 3 and option 4 are the other components as they are orthonormal.
4. Here,
3 6
μ1 = ⎡⎢ ⎤⎥ and μ = ⎡⎢ ⎤⎥
⎣ 5 ⎦ 2 ⎣ 8 ⎦
Now,
−3
μ1- μ2 = ⎡⎢ ⎤⎥
ti
⎣ −3 ⎦
ha
wa
𝑇 9 9
𝑆𝐵 = (μ1 − μ2 )(μ1 − μ2) = ⎡⎢ ⎤⎥
⎣ 9 9 ⎦
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
10/3/24, 11:39 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 11 - Week 8: Mixture Model and Clustering
gireesh218@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Machine Learning and Deep Learning - Fundamentals and Applications (course)
Announcements (announcements) About the Course (preview) Q&A (forum) Progress (student/home) Mentor (student/mentor)
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=78&assessment=151 1/6
10/3/24, 11:39 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 11 - Week 8: Mixture Model and Clustering
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=78&assessment=151 2/6
10/3/24, 11:39 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 11 - Week 8: Mixture Model and Clustering
{1, 2, 3, 1, 3, 1, 3, 2, 3, 1}
Week 10: Artificial
Neural Network ()
{1, 1, 2, 1, 3, 1, 3, 3, 1, 1}
Week 11: Introduction No, the answer is incorrect.
Score: 0
to Deep Neural
Accepted Answers:
Networks ()
{1, 2, 2, 1, 3, 1, 3, 2, 1, 1}
Problem Solving
6) For the above question, find the centroids after 3 iterations. 0 points
Session - July 2024 ()
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=78&assessment=151 3/6
10/3/24, 11:39 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 11 - Week 8: Mixture Model and Clustering
9)Suppose we have a dataset with two observed features (X1 and X2) and missing values for some 1 point
data points.
The dataset is shown below:
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=78&assessment=151 4/6
10/3/24, 11:39 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 11 - Week 8: Mixture Model and Clustering
We want to estimate the missing values in X1 and X2 using a GMM with two components through the EM
algorithm.
Assume equal mixing coefficients, i.e.,
π1 = π2 = 0.5 and posterior probabilities as Gaussian probability density function.
10) For the data in question 9, after 1st iteration estimate the variance of X2? 1 point
0.87
0.174
0.32
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=78&assessment=151 5/6
10/3/24, 11:39 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 11 - Week 8: Mixture Model and Clustering
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=78&assessment=151 6/6
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 08: Detailed Solution
Indian Institute of Technology Guwahati
Q.3. Solution – GMMs are sensitive to the initial placement of the Gaussian components
Q.5. Solution –
Problem: Given 10 data points:
{−1,27,31, 2,59, 3,61,34, 0,12}
We are tasked with applying K-means clustering for 3 iterations to cluster them into 3
clusters. The initial cluster labels are:
{1,1,1,2,2,2,3,3,3,1}
We will proceed step by step, calculating the centroids and reassigning labels.
Step 1: Calculate Initial Centroids
Based on the initial labels, we calculate the centroids of the clusters as follows:
- Cluster 1 (𝐶1 ) contains points: {−1,27,31,12}
−1 + 27 + 31 + 12 69
Centroid of 𝐶1 = = = 17.25
4 4
- Cluster 2 (𝐶2 ) contains points: {2,59, 3}
2 + 59 + 3 64
Centroid of 𝐶2 = = ≈ 21.33
3 3
- Cluster 3 (𝐶3 ) contains points: {61,34, 0}
61 + 34 + 0 95
Centroid of 𝐶3 = = ≈ 31.67
3 3
Step 2: Reassign Labels Based on Closest Centroid
Now, we compute the distance of each point from the centroids and reassign it to the closest
cluster:
-1 4.2 30 52.33 C1
27 23.8 2 24.33 C2
31 27.8 2 20.33 C2
2 1.2 27 49.33 C1
59 55.8 30 7.67 C3
3 0.2 26 48.33 C1
61 57.8 32 9.67 C3
34 30.8 5 17.33 C2
0 3.2 29 51.33 C1
12 8.8 17 39.33 C1
Q.10. Solution - 1
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 12: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 12: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 12: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 12: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 12: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 12: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 12: Detailed Solution
Indian Institute of Technology Guwahati
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 12: Detailed Solution
Indian Institute of Technology Guwahati
10/3/24, 11:40 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 12 - Week 9: Clustering
gireesh218@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Machine Learning and Deep Learning - Fundamentals and Applications (course)
Announcements (announcements) About the Course (preview) Q&A (forum) Progress (student/home) Mentor (student/mentor)
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=83&assessment=152 1/8
10/3/24, 11:40 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 12 - Week 9: Clustering
Iteratively shifting data points towards the mean of the entire dataset.
Week 8: Mixture Model
and Clustering () Assigning data points to clusters based on predefined centroids.
Minimizing the sum of squared distances within each cluster.
Week 9: Clustering () Shifting data points towards the mode (highest density area) of the data distribution.
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=83&assessment=152 2/8
10/3/24, 11:40 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 12 - Week 9: Clustering
7) What is the key difference between Fuzzy K-Means and the traditional K-Means clustering algorithm? 1 point
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=83&assessment=152 3/8
10/3/24, 11:40 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 12 - Week 9: Clustering
Fuzzy K-Means allows each data point to belong to multiple clusters with varying degrees of membership.
Fuzzy K-Means does not require the number of clusters to be specified.
Fuzzy K-Means assigns each data point to exactly one cluster.
Fuzzy K-Means is a supervised learning algorithm, while K-Means is unsupervised.
8) If we utilize the Hierarchical Agglomerative Clustering method on given below data with the aim of 1 point
identifying clusters based on the smallest values obtained from Euclidean distance calculations, the dendrogram
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=83&assessment=152 4/8
10/3/24, 11:40 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 12 - Week 9: Clustering
will be -
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=83&assessment=152 5/8
10/3/24, 11:40 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 12 - Week 9: Clustering
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=83&assessment=152 6/8
10/3/24, 11:40 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 12 - Week 9: Clustering
It randomly assigns data points to different clusters, and then iteratively adjusts the assignments until a stopping criterion is met.
It applies a clustering algorithm to different subsets of the data, and then combines the results using an ensemble method.
It starts with each data point as its own cluster, and then iteratively merges the closest pairs of clusters until a stopping criterion is met.
It uses a decision tree to recursively split the data into smaller clusters until a stopping criterion is met.
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=83&assessment=152 7/8
10/3/24, 11:40 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 12 - Week 9: Clustering
Score: 1
Accepted Answers:
It starts with each data point as its own cluster, and then iteratively merges the closest pairs of clusters until a stopping criterion is met.
10) Which parameter in Fuzzy K-Means controls the fuzziness of the clustering? 1 point
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=83&assessment=152 8/8
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 09: Detailed Solution
Indian Institute of Technology Guwahati
Q.1. Solution – It considers the maximum distance between points in different clusters.
Q.2. Solution – Find the distance between data points and Centroids. which data points have a
minimum distance that points moved to the nearest cluster centroid.
Q.3. Solution – Shifting data points towards the mode (highest density area) of the data
distribution.
Q.7. Solution – Fuzzy K-Means allows each data point to belong to multiple clusters with varying
degrees of membership.
Q.8. Solution – Look at the distance matrix to find the smallest non-zero value, as this indicates
the closest pair of points that should be merged first.
First Merge
Now, update the distance matrix to reflect this new cluster. The distance between this new cluster
and any other point will be the minimum distance from any member of the new cluster to that
point (assuming we are using single linkage).
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 09: Detailed Solution
Indian Institute of Technology Guwahati
d(C7,p1) = min(d(p3,p1),d(p6,p1))=min(0.2218,0.2347)=0.
d(C7,p2) = min(d(p3,p2),d(p6,p2))=min(0.1483,0.2540)=0.1483
d(C7,p4)= min(d(p3,p4),d(p6,p4))=min(0.1513,0.2216)=0.1513
d(C7,p5) = min(d(p3,p5),d(p6,p5))=min(0.2843,0.3921)=0.2843
The updated matrix will have a new row and column for C7C7C7 and will no longer include rows
and columns for p3 and p6.
Now, look for the smallest distance in the updated distance matrix:
The smallest distance is 0.1483 between C7 (the cluster containing p3 and p6) and p2.
Repeat the process of updating the distance matrix and finding the smallest distance to merge
clusters until all points are merged into a single cluster.
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 09: Detailed Solution
Indian Institute of Technology Guwahati
Q.9. Solution – It starts with each data point as its own cluster, and then iteratively merges the closest
pairs of clusters until a stopping criterion is met.
gireesh218@gmail.com
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Machine Learning and Deep Learning - Fundamentals and Applications (course)
Announcements (announcements) About the Course (preview) Q&A (forum) Progress (student/home) Mentor (student/mentor)
Week 1: Introduction ()
Week 2: Bayesian
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=98&assessment=157 1/7
10/3/24, 11:41 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 13 - Week 10: Artificial Neural Network
Week 3- Parametric
Approaches and Non-
Parametric Density
Suppose you have input as x,y and z to the network given below-
Estimation ()
Week 4: Perceptron
Criteria and Calculate the gradients of the output with respect to x, y and z.
Discriminative Models
()
( −3
4
, −1
2
, 1)
Week 5: Logistic
Regression, Decision ( −3
4
, 12 , 1)
Trees and Hidden
−1
Markov Model () ( 34 , 2
, 1)
Week 6 - Ensemble −1
( 34 , 2
, −1)
Methods ()
Yes, the answer is correct.
Score: 1
Week 7:
Accepted Answers:
Dimensionality
Problem () ( −3
4
, 12 , 1)
Week 8: Mixture Model 2) Which of the following is not a type of neural network architecture? 1 point
and Clustering ()
Convolutional Neural Network
Week 9: Clustering () Long Short-Term Memory
Self-Organization Map
Week 10: Artificial Decision Tree Network
Neural Network ()
Yes, the answer is correct.
Score: 1
Lec 34: Artificial Neural
Networks for Pattern Accepted Answers:
Decision Tree Network
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=98&assessment=157 2/7
10/3/24, 11:41 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 13 - Week 10: Artificial Neural Network
Classification (PART 1)
(unit?unit=98&lesson=99)
3) What is overfitting in the context of neural networks? 1 point
Lec 35: Artificial Neural When the variance of the model is high
Networks for Pattern When the model has too few layers
Classification (PART 2)
(unit?
When the activation function is not properly defined
unit=98&lesson=100) When the learning rate is too high
Download () 0.07
0.92
Live session () None
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=98&assessment=157 3/7
10/3/24, 11:41 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 13 - Week 10: Artificial Neural Network
Score: 1
Accepted Answers:
0.92
6) In a feedforward neural network with one hidden layer, the input layer has 10 neurons, the hidden layer has 5 neurons, and the output 1 point
layer has 3 neurons. How many total weights (including biases) are there in the network?
70
73
50
65
7) Consider a standard three-layer backpropagation net with d input units, h hidden units, c output units, and bias, find 1 point
the expression for output of a node k is
8) You are training a neural network using a fixed learning rate of 0.01. After several epochs, you notice that the loss is 1 point
decreasing too slowly, indicating that the learning rate is too small. If you want to change the learning rate to speed up convergence, what
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=98&assessment=157 4/7
10/3/24, 11:41 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 13 - Week 10: Artificial Neural Network
0.01
0.1
0.001
None
9) For a Kohonen Self-organizing map (SOM) to cluster four vectors. The online vectors to be clustered are 1 point
(1, 1, 0, 0); (0, 0, 0, 1); (1, 0, 0, 0); (0, 0, 1, 1) sequentially. The maximum number of clusters to be formed is m=2. Suppose learning rate
⎡ 0.3 0.7 ⎤
(Geometric decrease) is α(0) = 0.6 and α(t + 1) = 0.6α(t). Initial weight matrix is ⎢
⎢ 0.4 0.3 ⎥. The first iteration for KSOM to cluster
⎥
⎢ 0.6 0.6 ⎥
⎣ 0.8 0.3 ⎦
the vector (1, 0, 0, 0) will be
⎡ 0.83 0.88 ⎤
⎢ 0.42 0.72 ⎥
⎢ ⎥
⎢ 0.21 0.24 ⎥
⎣ 0.12 0.12 ⎦
⎡ 0.12 0.952 ⎤
⎢ 0.16 0.29 ⎥
⎢ ⎥
⎢ 0.24 0.096 ⎥
⎣ 0.92 0.048 ⎦
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=98&assessment=157 5/7
10/3/24, 11:41 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 13 - Week 10: Artificial Neural Network
⎡ 0.12 0.88 ⎤
⎢ 0.16 0.72 ⎥
⎢ ⎥
⎢ 0.24 0.24 ⎥
⎣ 0.92 0.12 ⎦
⎡ 0.63 0.35 ⎤
⎢ 0.18 0.21 ⎥
⎢ ⎥
⎢ 0.25 0.15 ⎥
⎣ 0.61 0.6 ⎦
No, the answer is incorrect.
Score: 0
Accepted Answers:
⎡ 0.12 0.952 ⎤
⎢ 0.16 0.29 ⎥
⎢ ⎥
⎢ 0.24 0.096 ⎥
⎣ 0.92 0.048 ⎦
10) Suppose Mean Squared Error (MSE) is used as the loss function for training your neural network model. Your model predicts a 1 point
value of 8 for a data point with an actual target value of 10. What is the MSE loss for this data point?
4
2
1
0
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=98&assessment=157 6/7
10/3/24, 11:41 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 13 - Week 10: Artificial Neural Network
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=98&assessment=157 7/7
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
ti
Assignment 10: Detailed Solution
ha
Indian Institute of Technology Guwahati
wa
Gu
5. Given, weighted input (x) = 2.5
gy
Therefore, considering sigmoid function,
lo
1 1
Output (y) = −𝑥 = −2.5 = 0. 92
1+𝑒 1+𝑒
no
6. Given: Input Layer = 10 Neurons; Hidden Layer = 5 Neurons; Output Layer = 3 Neurons
ch
Weights between Input Layer and Hidden Layer:
Number of weights=Number of input neurons×Number of hidden neurons=10×5=50
Te
neurons=5×3=15
st
Now,
2 2 2 2
𝐷(1) = (1 − 0. 3) + (1 − 0. 4) + (0 − 0. 6) + (0 − 0. 8) = 1.85
2 2 2 2
𝐷(2) = (1 − 0. 7) + (1 − 0. 3) + (0 − 0. 6) + (0 − 0. 3) = 1.03
ti
Therefore,
ha
𝑤12 (new) = 0.7 + 0.6(1 - 0.7) = 0.88
wa
𝑤22 (new) = 0.3 + 0.6(1 - 0.3) = 0.72
Gu
𝑤32 (new) = 0.6 + 0.6(0 - 0.6) = 0.24
gy
lo
For second vector, X = [0,0,0,1]
no 𝑛
Euclidean distance, 𝐷(𝑗) = ∑ (𝑤𝑖𝑗 − 𝑥𝑖)
2
ch
𝑖=1
Now,
Te
2 2 2 2
𝐷(1) = (0 − 0. 3) + (0 − 0. 4) + (0 − 0. 6) + (1 − 0. 8) = 0.65
of
2 2 2 2
𝐷(2) = (0 − 0. 88) + (0 − 0. 72) + (0 − 0. 24) + (1 − 0. 12) = 2.12
te
Therefore,
In
ti
𝑤𝑖2 (new) = 𝑤𝑖2 (old) + 0.6(𝑥𝑖 - 𝑤𝑖2 (old))
ha
Therefore,
wa
𝑤12 (new) = 0.88 + 0.6(1 - 0.88) = 0.952
Gu
𝑤32 (new) = 0.24 + 0.6(0 - 0.24) = 0.096
gy
𝑤42 (new) = 0.12 + 0.6(0 - 0.12) = 0.048
lo
10. We know, MSE =
1
𝑛
𝑛
∑ (𝑦𝑖 − 𝑦𝑖)
2
no
ch
𝑖=1
Here, y = 10 and 𝑦 = 8
Te
1 2 2
Therefore, MSE = (10 − 8) = 2 = 4
of
1
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
10/16/24, 9:54 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 14 - Week 11: Introduction to Deep Neural Net…
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=105&assessment=161 1/4
10/16/24, 9:54 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 14 - Week 11: Introduction to Deep Neural Net…
Density Score: 1
Estimation () Accepted Answers:
The number of parameters grows quadratically with kernel size.
Week 4:
3) You have an input volume that is 63 × 63 × 16 , and convolve it with 1 point
Perceptron
32 filters that are each 7 × 7, using a stride of 2 and no padding. What is the
Criteria and
output volume?
Discriminativ
e Models ()
16 × 16 × 32
Week 5:
16 × 16 × 16
Logistic
Regression, 29 × 29 × 32
Decision
Trees and 29 × 29 × 16
Hidden Yes, the answer is correct.
Score: 1
Markov
Accepted Answers:
Model ()
29 × 29 × 32
Week 6 - 4)Which activation function is less prone to the vanishing gradient 1 point
Ensemble
problem?
Methods ()
Sigmoid
Week 7: Tanh
Dimensionali
ReLU
ty Problem ()
Leaky ReLU
Week 8: Yes, the answer is correct.
Mixture Score: 1
Model and Accepted Answers:
Clustering () Leaky ReLU
Week 9: 5)What is the typical configuration of VGG networks regarding the 1 point
Clustering () convolutional kernel size and stride?
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=105&assessment=161 2/4
10/16/24, 9:54 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 14 - Week 11: Introduction to Deep Neural Net…
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=105&assessment=161 3/4
10/16/24, 9:54 AM Machine Learning and Deep Learning - Fundamentals and Applications - - Unit 14 - Week 11: Introduction to Deep Neural Net…
Score: 1
Download () Accepted Answers:
VGG16
Live session
()
https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=105&assessment=161 4/4
NPTEL Online Certification Course
ti
Machine Learning and Deep Learning - Fundamentals and Applications
ha
Assignment 11: Detailed Solution
Indian Institute of Technology Guwahati
wa
Gu
gy
3. For a given input size n, kernel of size f, padding of size p and stride as s,
lo
𝑛 − 𝑓 + 2𝑝 𝑛 − 𝑓 + 2𝑝
The output 𝑜 = ( 𝑠
+ 1) x ( 𝑠
+ 1) x number of filters
no
Here, n = 63, f = 7, s = 2, p = 0, number of filters = 32
ch
63 − 7 63 − 7
Therefore, o = ( 2
+ 1) x ( 2
+ 1) x 32 = 29 x 29 x32
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
NPTEL Online Certification Course
<COURSE NAME>
<Assignment Number>: Detailed Solution
Indian Institute of Technology Guwahati
ti
ha
wa
Gu
gy
lo
no
ch
Te
of
te
itu
st
In
an
di
In
Machine Learning and Deep Learning - Fundamentals and Applications ... https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=112&assessme...
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gireesh218@gmail.com
1 of 4 17-10-2024, 10:08 am
Machine Learning and Deep Learning - Fundamentals and Applications ... https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=112&assessme...
Parametric 3) In RNNs, what is the primary reason for vanishing gradients? 1 point
Density
Estimation () Use of ReLU activation functions
Use of shallow network architectures
Week 4: Repeated multiplication of small values over long sequences
Perceptron Limited training data
Criteria and
Yes, the answer is correct.
Discriminativ
Score: 1
e Models ()
Accepted Answers:
Repeated multiplication of small values over long sequences
Week 5:
Logistic 4) In an autoencoder, what is the bottleneck layer responsible for? 1 point
Regression,
Decision
Reducing overfitting
Trees and Increasing model complexity
Hidden Controlling the learning rate
Markov Model Extracting and encoding useful features
()
Yes, the answer is correct.
Score: 1
Week 6 -
Accepted Answers:
Ensemble
Extracting and encoding useful features
Methods ()
5) What are skip connections in U-Net used for? 1 point
Week 7:
Creating shortcuts for gradient flow and preserving fine-grained details
Dimensionalit
y Problem () Skipping over layers with no useful information
Reducing computational complexity
Week 8: Avoiding overfitting
Mixture
Yes, the answer is correct.
Model and Score: 1
Clustering () Accepted Answers:
Creating shortcuts for gradient flow and preserving fine-grained details
Week 9:
Clustering () 6) Recurrent Neural Networks (RNNs) are primarily used for: 1 point
Image segmentation
Week 10:
Time-series and sequence data processing
Artificial
Dimensionality reduction
Neural
Network () Data generation
2 of 4 17-10-2024, 10:08 am
Machine Learning and Deep Learning - Fundamentals and Applications ... https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=112&assessme...
Lec 46:
Problem
Solving
Session (unit?
unit=112&lesso
n=126)
Lec 47:
Problem
3 of 4 17-10-2024, 10:08 am
Machine Learning and Deep Learning - Fundamentals and Applications ... https://onlinecourses.nptel.ac.in/noc24_ee146/unit?unit=112&assessme...
Solving
Session (unit?
unit=112&lesso
n=127)
Lec 48:
Problem
Solving
Session (unit?
unit=112&lesso
n=128)
Lecture Notes
(unit?
unit=112&lesso
n=130)
Quiz: Week 12
: Assignment
12
(assessment?
name=164)
Feedback form
12 (unit?
unit=112&lesso
n=129)
Problem
Solving
Session -
July 2024 ()
Download ()
Live session
()
4 of 4 17-10-2024, 10:08 am
NPTEL Online Certification Course
Machine Learning and Deep Learning - Fundamentals and Applications
Assignment Number – 12: Detailed Solution
Indian Institute of Technology Guwahati
Q.5. Solution – Creating shortcuts for gradient flow and preserving fine-grained details