Assignments - NOC - Data Science For Engineers
Assignments - NOC - Data Science For Engineers
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 3 - Week 1
Course outline
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=1&assessment=102 1/6
02/07/2020 Data Science for Engineers - - Unit 3 - Week 1
5) The value(s) of "y" at the end of the program given below is-- 1 point
x1=matrix(10:18,3,3)
x2=matrix(11:19,3,3)
m =cbind(apply(x1,1,min),apply(x2,1,max))
print(m)
y =apply(m,2,mean)
print(y)
11 18
30 20 40
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=1&assessment=102 2/6
02/07/2020 Data Science for Engineers - - Unit 3 - Week 1
x =c(3:8)
y =c(2,4,5)
x *y
Error!
6 16 18 12
6 16 25 12 28 40
6 16 8 8
No, the answer is incorrect.
Score: 0
Accepted Answers:
6 16 25 12 28 40
runif(100)
Scalar
Vector
Matrices
All the above
No, the answer is incorrect.
Score: 0
Accepted Answers:
All the above
mylist=list("Ram","Harish","Pradeep",c("Python","Java","R"),"25","90","1
mylist[[2]][2]
mylist[[4]][3]
mylist[[3]][1]
None of the above
No, the answer is incorrect.
Score: 0
Accepted Answers:
mylist[[4]][3]
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=1&assessment=102 3/6
02/07/2020 Data Science for Engineers - - Unit 3 - Week 1
10)Given the following line of code to generate matrix ‘y’, how would you subset the third row? 1 point
y[3,]
y[,3]
y[3,2]
y(3,)
No, the answer is incorrect.
Score: 0
Accepted Answers:
y[3,]
11)The correct command to build a matrix with numbers from 1 to 12, arranged row wise of size 3x4 and 1 point
name it as "A" is ----
⎡ 52 42 53 21 63 ⎤
⎢ ⎥
14 26 77 32 12
⎢ ⎥
Using the matrix, 𝑎 = ⎢ 13 18 23 28 33 ⎥ answer the questions from 12 to 16.
⎢ ⎥
14 19 24 29 34
⎢ ⎥
⎣ 15 20 25 30 35 ⎦
26 77 32 12
14 26 77 32 12
13 18 23 28 33
52 42 63
14 13
No, the answer is incorrect.
Score: 0
Accepted Answers:
14 13
56
32
33
28
No, the answer is incorrect.
Score: 0
Accepted Answers:
28
14)The command to exclude the elements of 3rd row and select the rest of matrix is 1 point
a[-3,]
a[3,1:5]
a[3,]
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=1&assessment=102 4/6
02/07/2020 Data Science for Engineers - - Unit 3 - Week 1
a[2,0:4]
No, the answer is incorrect.
Score: 0
Accepted Answers:
a[-3,]
diag (a)
diagonal(x=a)
diag(x = a,nrow = 5,ncol = 5)
All the above
No, the answer is incorrect.
Score: 0
Accepted Answers:
diag (a)
is.matrix(a)
as.matrix(a)
is.matrix([a])
as.mat(a)
No, the answer is incorrect.
Score: 0
Accepted Answers:
is.matrix(a)
17)User function that allows you to insert debugging code into a function to a specific place 1 point
debug()
trace()
recover()
None of the above
No, the answer is incorrect.
Score: 0
Accepted Answers:
trace()
Answer the questions (18 to 20) based on the data frame created above.
left_join(a,b,by='x1')
left_join(b,a,by='x1')
left.join(by='x1',a,b)
left_join(by='x2',b,a)
No, the answer is incorrect.
Score: 0
Accepted Answers:
left_join(a,b,by='x1')
right.join(b,a,by='x2')
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=1&assessment=102 5/6
02/07/2020 Data Science for Engineers - - Unit 3 - Week 1
right_join(a,b,by='x1')
right_join(by='x1',a,b)
right.join(by='x1',b,a)
No, the answer is incorrect.
Score: 0
Accepted Answers:
right_join(a,b,by='x1')
20)The syntax to set the working directory in "R- studio" is --- 1 point
getwd("file path")
wd("file path")
currentwd("file path")
setwd("file path")
No, the answer is incorrect.
Score: 0
Accepted Answers:
setwd("file path")
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=1&assessment=102 6/6
02/07/2020 Data Science for Engineers - - Unit 4 - Week 2
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 4 - Week 2
Course
outline Assignment 2 - Part 1
How does an The due date for submitting this assignment has passed. Due on 2020-02-12, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
1) ⎡4 5 16 7 ⎤ 1 point
⎢ ⎥
Week 0 ⎢2 −3 2 3 ⎥
The rank of the matrix 𝐴 =
⎢ ⎥
3 4 5 6
Week 1 ⎢ ⎥
⎣4 7 8 9 ⎦
Week 2
3
Linear Algebra 2
for Data science 4
(unit?
unit=14&lesson=15)
0
No, the answer is incorrect.
Solving Linear Score: 0
Equations (unit?
Accepted Answers:
unit=14&lesson=16)
4
Solving Linear
2) ⎡ 1 0 −1 2 ⎤ ⎡1 2 ⎤ 1 point
Equations ( ⎢ ⎥ ⎢ ⎥
Continued ) ⎢ 0 3 1 −1 ⎥ ⎢3 −1 ⎥
(unit? Given the matrix 𝐴 =
⎢ ⎥
,𝐵 =
⎢ ⎥
,
2 4 0 3 0 −1
unit=14&lesson=17) ⎢ ⎥ ⎢ ⎥
⎣ −3 1 2 4 ⎦ ⎣4 2 ⎦
Linear Algebra -
3 8 0 5
Distance,Hyperplanes 𝐶 =
and [1 0 −4 8]
Halfspaces,Eigenvalues,Eigenvectors
(unit? If 𝐷 = 𝐶 𝐴𝐵 exists, then the value at 𝐷22 is
unit=14&lesson=18)
-37
Linear Algebra -
Distance,Hyperplanes 107
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=14&assessment=106 1/6
02/07/2020 Data Science for Engineers - - Unit 4 - Week 2
and -25
Halfspaces,Eigenvalues,Eigenvectors
( Continued 1) -33
(unit? No, the answer is incorrect.
unit=14&lesson=19) Score: 0
Accepted Answers:
Linear Algebra -
-25
Distance,Hyperplanes
and 3) ⎡ −2 32 24 ⎤ 1 point
Halfspaces,Eigenvalues,Eigenvectors ⎢ ⎥
( Continued 2 ) The determinant of the matrix 𝑍 = 92 66 25 is
⎢ ⎥
(unit? ⎣ −80 40 20 ⎦
unit=14&lesson=20)
115506
Linear Algebra -
Distance,Hyperplanes 91520
and 1155
Halfspaces,Eigenvalues,Eigenvectors
( Continued 3 )
Does not exist
(unit? No, the answer is incorrect.
unit=14&lesson=21) Score: 0
Accepted Answers:
FAQ (unit?
91520
unit=14&lesson=22)
4) ⎡2 1 2⎤ 1 point
Quiz :
⎢ ⎥
Assignment 2 - The inverse of the matrix 𝑃 = 1 0 1 is
⎢ ⎥
Part 1 ⎣3 1 3⎦
(assessment?
name=106)
0
Quiz : Linear
algebra - ⎡ −0.25 −0.25 0.25 ⎤
Assignment 2 - ⎢ ⎥
Part 2 0 −3 1
⎢ ⎥
(assessment? ⎣ 0.25 1.25 −0.25 ⎦
name=109)
Week 2 ⎡2 1 2⎤
Feedback (unit? ⎢ ⎥
1 0 1
unit=14&lesson=110) ⎢ ⎥
⎣2 1 3⎦
Solution -
Assignment 2 -
Inverse does not exist
Part 1 (unit? No, the answer is incorrect.
unit=14&lesson=115) Score: 0
Accepted Answers:
Solution - Linear
Inverse does not exist
algebra -
Assignment 2 - 5) If b is a non-singular matrix of order n then the maximum possible rank of b is 1 point
Part 2 (unit?
unit=14&lesson=116) n
0
Week 3
n-1
Week 4 1
No, the answer is incorrect.
Week 5 Score: 0
Accepted Answers:
Week 6 n
6) If the number of variables in a non-homogenous system AX= B is n then the system 1 point
Week 7
possesses no solution if
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=14&assessment=106 2/6
02/07/2020 Data Science for Engineers - - Unit 4 - Week 2
8) ⎡2 0 0⎤ 1 point
⎢ ⎥
Given the matrix 𝐴 = 0 1 0
⎢ ⎥
⎣0 0 5⎦
2
3+0i
1
8
No, the answer is incorrect.
Score: 0
Accepted Answers:
8
9) ⎡1 6 1⎤ 1 point
⎢ ⎥
Given the matrix 𝑍 = 1 2 3
⎢ ⎥
⎣0 0 3⎦
-1
4
3
6
No, the answer is incorrect.
Score: 0
Accepted Answers:
-1
λ2
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=14&assessment=106 3/6
02/07/2020 Data Science for Engineers - - Unit 4 - Week 2
1/λ
1
1/λ2
No, the answer is incorrect.
Score: 0
Accepted Answers:
1/λ
11)If A and B are square matrices of size n*n then which of the following statements is true? 1 point
I,II
II, III,IV
III
I,II,IV
No, the answer is incorrect.
Score: 0
Accepted Answers:
I,II,IV
0
1
Not defined
∞
No, the answer is incorrect.
Score: 0
Accepted Answers:
0
13)Given a square matrix of order n and λ is a scalar , then the characteristic polynomial of A is 1 point
obtained by expanding determinant
λ
|λA-In|
|A-λI|
|λA|
No, the answer is incorrect.
Score: 0
Accepted Answers:
|A-λI|
14)The system of equations 2x +3y -3z = 8, 4x -2y +6z = 9, 10x +3y - 3z = 5 has 1 point
Unique solution
No solution
Two solutions
Infinitely many solutions
No, the answer is incorrect.
Score: 0
A dA
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=14&assessment=106 4/6
02/07/2020 Data Science for Engineers - - Unit 4 - Week 2
Accepted Answers:
Unique solution
-18
15
-15
21
No, the answer is incorrect.
Score: 0
Accepted Answers:
-15
x=-1, y=-4, z= -2
x=-1, y=2, z = 4
x=-1, y=2, z = 11
x=3, y=1, z =-5
No, the answer is incorrect.
Score: 0
Accepted Answers:
x=-1, y=2, z = 4
No solution
Unique solution
Infinite solutions
Two solutions
No, the answer is incorrect.
Score: 0
Accepted Answers:
Infinite solutions
18) ⎡1 5 −8 ⎤ 1 point
⎢ ⎥
The matrix 0 8 5 is
⎢ ⎥
⎣0 0 6 ⎦
19)For a matrix A if the rank is r and the nullity is given by a, the total number of attributes 1 point
is always equal to 0
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=14&assessment=106 5/6
02/07/2020 Data Science for Engineers - - Unit 4 - Week 2
is equal to r - a
cannot be determined
is equal to r + a
No, the answer is incorrect.
Score: 0
Accepted Answers:
is equal to r + a
20) ⎡ 𝑡 8 2⎤ 1 point
⎢ ⎥
For a matrix 𝐴 = 2 3 𝑡 , the determinant of A is
⎢ ⎥
⎣6 𝑡 2⎦
-t3+58t-68
t3+52t-62
t3+16t+16
t3-14t+38
No, the answer is incorrect.
Score: 0
Accepted Answers:
-t3+58t-68
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=14&assessment=106 6/6
02/07/2020 Data Science for Engineers - - Unit 4 - Week 2
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 4 - Week 2
Course
outline Linear algebra - Assignment 2 -
How does an
NPTEL online
Part 2
course work? The due date for submitting this assignment has passed. Due on 2020-02-12, 23:59 IST.
As per our records you have not submitted this assignment.
Week 0
1) The distance between two vectors say 𝑉1 = [15 16 2]
𝑇
and 𝑉2 = [18 16 1]
𝑇
is 1 point
Week 1
√3 units
Week 2 √10 units
2√3 units
Linear Algebra
for Data science √21 units
(unit? No, the answer is incorrect.
unit=14&lesson=15) Score: 0
Accepted Answers:
Solving Linear
√10 units
Equations (unit?
unit=14&lesson=16) 2) The unit vector of a vector [5 𝑇
8] is 1 point
Solving Linear
Equations (
Continued ) 5/√89
‾
‾‾
(unit? [ 2/ 9 ]
√‾
unit=14&lesson=17)
Halfspaces,Eigenvalues,Eigenvectors
(unit? 29/√5 ‾
unit=14&lesson=18)
[ 29/ 2 ]
√‾
Linear Algebra -
Distance,Hyperplanes
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=14&assessment=109 1/4
02/07/2020 Data Science for Engineers - - Unit 4 - Week 2
and 5/√89‾‾‾
Halfspaces,Eigenvalues,Eigenvectors
[ 8/ 89 ‾‾ ]
( Continued 1) √‾
Quiz : 𝐼. 𝑣1 = (5 − 2 3)
𝑇
𝑣2 = (−2 4 6)
Assignment 2 - 𝑇
𝐼𝐼. 𝑣1 = (1 − 2 4), 𝑣2 = (2 5 2)
Part 1 𝑇 𝑇
𝐼𝐼𝐼. 𝑣1 = (1 − 2 4) , 𝑣2 = (−1 4)
(assessment?
𝑇
name=106) 𝐼𝑉 . 𝑣1 = (14 5), 𝑣2 = (10 − 2)
Quiz : Linear I
algebra -
I, II
Assignment 2 -
Part 2 I, II , III
(assessment? III, IV
name=109)
No, the answer is incorrect.
Week 2 Score: 0
Feedback (unit? Accepted Answers:
unit=14&lesson=110) I, II
Solution - 5) State whether the following statements are True / False 1 point
Assignment 2 - i) All orthonormal vectors are orthogonal
Part 1 (unit?
ii) Basis vectors are set of vectors that are dependent and span the space
unit=14&lesson=115)
6) ⎛ 𝑥⎞ ⎛1⎞ 1 point
Week 5 ⎜ ⎟ ⎜ ⎟
⎜ 𝑦 ⎟ ⎜2⎟
The point ⎜ = is in ____________ half space of the hyper plane
Week 6 𝑧
⎟ ⎜
3
⎟
⎜ ⎟ ⎜ ⎟
⎝ 𝑞 ⎠ ⎝4⎠
Week 7
3𝑥 + 2𝑦 − 6𝑧 + 8𝑞 = 24
Week 8 Positive
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=14&assessment=109 2/4
02/07/2020 Data Science for Engineers - - Unit 4 - Week 2
Negative
Text Transcripts
On the hyperplane
Download Videos Cannot be decided
No, the answer is incorrect.
Score: 0
Accepted Answers:
Negative
7) P is an m×n matrix whose columns are linearly independent. The nullity of A is 1 point
Zero
1
Not defined
R
No, the answer is incorrect.
Score: 0
Accepted Answers:
Zero
8) A set of linear equations is represented by the matrix equation Ax=b. The necessary condition 1 point
for the existence of a
solution for the system is
10)If the projection of 𝑎⃗ on 𝑏⃗ and projection of 𝑏⃗ on 𝑎⃗ are equal then the angle between 𝑎⃗ + 𝑏⃗ 1 point
and 𝑎⃗ − 𝑏⃗ is
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=14&assessment=109 3/4
02/07/2020 Data Science for Engineers - - Unit 4 - Week 2
2𝜋
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=14&assessment=109 4/4
02/07/2020 Data Science for Engineers - - Unit 5 - Week 3
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 5 - Week 3
Course
outline Practice Assignment 3
How does an The due date for submitting this assignment has passed. Due on 2020-02-19, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
Week 0 Note : This assignment is only for practice purpose and it will not be counted towards the Final
score
Week 1 1) A and B are two events. The probability that at least one of them occurs is given by 1 point
Week 2
𝑐 𝑐
𝑃 (𝐴 ∩ 𝐵 ) + 𝑃 (𝐴 ∩ 𝐵)
Linear Algebra
for Data science
𝑃 (𝐴) + 𝑃 (𝐵) − 𝑃 (𝐴 ∩ 𝐵)
(unit?
unit=14&lesson=15)
𝑃 (𝐴) + 𝑃 (𝐵) + 𝑃 (𝐴 ∩ 𝐵)
Solving Linear
Equations (unit?
𝑐 𝑐 𝑐 𝑐
unit=14&lesson=16) 𝑃 (𝐴 ) + 𝑃 (𝐵 ) − 2𝑃 (𝐴 ∩ 𝐵 )
unit=14&lesson=17)
2) Two tube lights are installed in a room. Probability of light A failing is 0.20 while the probability 1 point
Linear Algebra - of light B failing is 0.15. What is the
Distance,Hyperplanes probability that both the lights are working on a given day? (final value is rounded off to 2 decimal
and places)
Halfspaces,Eigenvalues,Eigenvectors
(unit? 0.50
unit=14&lesson=18)
0.54
Linear Algebra - 0.80
Distance,Hyperplanes
0.68
N h i i
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=24&assessment=92 1/4
02/07/2020 Data Science for Engineers - - Unit 5 - Week 3
Solution -
0.15
Assignment 2 - 0.43
Part 1 (unit?
0.70
unit=14&lesson=115)
No, the answer is incorrect.
Solution - Linear Score: 0
algebra - Accepted Answers:
Assignment 2 - 0.43
Part 2 (unit?
unit=14&lesson=116)
Week 3
Statistical
Modelling (unit?
unit=24&lesson=25)
Random
Variables and
Probability
Mass/Density
Functions (unit?
unit=24&lesson=26)
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=24&assessment=92 2/4
02/07/2020 Data Science for Engineers - - Unit 5 - Week 3
Sample
Statistics (unit?
unit=24&lesson=27)
Hypotheses
Testing (unit?
unit=24&lesson=28)
FAQ (unit?
unit=24&lesson=29)
Quiz : Practice
Assignment 3
(assessment?
name=92)
Quiz :
Assignment 3
(assessment?
name=111)
Week 3
Feedback (unit?
unit=24&lesson=112)
Solution -
Assignment 3
(unit?
unit=24&lesson=120)
Week 4
Week 5
Week 6
Week 7
Week 8
Text Transcripts
Download Videos
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=24&assessment=92 3/4
02/07/2020 Data Science for Engineers - - Unit 5 - Week 3
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=24&assessment=92 4/4
02/07/2020 Data Science for Engineers - - Unit 5 - Week 3
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 5 - Week 3
Course
outline Assignment 3
How does an The due date for submitting this assignment has passed. Due on 2020-02-19, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
1) A single letter is selected at random from the word ‘MACHINE LEARNING’. The probability 1 point
Week 0 that it is a consonant is
8/15
Week 1
5/15
Week 2 7/15
9/15
Week 3
No, the answer is incorrect.
Score: 0
Statistical
Accepted Answers:
Modelling (unit?
9/15
unit=24&lesson=25)
2) The probability of rolling 2 dice to get a sum of 4 or 7 is: 1 point
Random
Variables and
1/6
Probability
Mass/Density 1/4
Functions (unit? 1/12
unit=24&lesson=26)
1/8
Sample
No, the answer is incorrect.
Statistics (unit?
Score: 0
unit=24&lesson=27)
Accepted Answers:
Hypotheses 1/4
Testing (unit?
3) A car manufacturer purchases car batteries from two different suppliers. Supplier X provides 1 point
unit=24&lesson=28)
55% of the batteries and supplier Y provides the rest.
FAQ (unit? If 5% of all batteries from supplier X are defective and 4% of the batteries from supplier Y are
unit=24&lesson=29) defective. Determine the probability
that a randomly selected battery is defective
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=24&assessment=111 1/7
02/07/2020 Data Science for Engineers - - Unit 5 - Week 3
Week 6 5) A and B are mutually exclusive events, given P(A)=0.3 and P(B)=0.4 find P(A∩B)? 1 point
Week 7 0.12
0
Week 8 0.7
1
Text Transcripts
No, the answer is incorrect.
Score: 0
Download Videos
Accepted Answers:
0
2
X and Y are independent random variables with 𝐸(𝑋) = 6, σ
𝑋
= 3 , 𝐸(𝑌 ) = 3 and σ2𝑌 = 5. Now
based on this information
answer question 6 and 7
6) 𝐸(10𝑋 + 5𝑌 ) = ? 1 point
20
30
65
75
No, the answer is incorrect.
Score: 0
Accepted Answers:
75
260
152
145
100
No, the answer is incorrect.
Score: 0
A dA
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=24&assessment=111 2/7
02/07/2020 Data Science for Engineers - - Unit 5 - Week 3
Accepted Answers:
152
113706
125688
107300
245131
No, the answer is incorrect.
Score: 0
Accepted Answers:
113706
54
32
21
56
No, the answer is incorrect.
Score: 0
Accepted Answers:
56
7
16
23
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=24&assessment=111 3/7
02/07/2020 Data Science for Engineers - - Unit 5 - Week 3
35
No, the answer is incorrect.
Score: 0
Accepted Answers:
16
345658545
912562245
917425865
65872354
No, the answer is incorrect.
Score: 0
Accepted Answers:
917425865
12)Which one of the following is best measure of central tendency for categorical data? 1 point
Mean
Median
Mode
None of the above
No, the answer is incorrect.
Score: 0
Accepted Answers:
Mode
Positive
Negative
Standard deviation
Zero
No, the answer is incorrect.
Score: 0
Accepted Answers:
Zero
14)A standard normal density function is shown below. The area of the shaded region is 1 point
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=24&assessment=111 4/7
02/07/2020 Data Science for Engineers - - Unit 5 - Week 3
0.046
0.977
0.954
0.023
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.954
15)Consider the experiment of tossing a coin three times. What is the probability of getting three 1 point
tails?
1/8
3/8
1/4
None of the above
No, the answer is incorrect.
Score: 0
Accepted Answers:
1/8
16)A sample of N observations are independently drawn from a normal distribution. The sample 1 point
variance follows
Normal distribution
Chi-square with N degrees of freedom
Chi-square with N-1 degrees of freedom
t-distribution with N-1 degrees of freedom
No, the answer is incorrect.
Score: 0
Accepted Answers:
Chi-square with N-1 degrees of freedom
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=24&assessment=111 5/7
02/07/2020 Data Science for Engineers - - Unit 5 - Week 3
In order to assess whether the population of the cities changed significantly, a hypotheses test is
conducted to test whether the differences of
the mean is equal to zero or not.
17)The difference in the mean between the population 1930 and 1920 is 1 point
20.464
-23.652
24.653
10.555
No, the answer is incorrect.
Score: 0
Accepted Answers:
24.653
1.069
0.404
-0.856
-1.069
No, the answer is incorrect.
Score: 0
Accepted Answers:
1.069
56
20
35
96
No, the answer is incorrect.
Score: 0
Accepted Answers:
96
20)The critical value of the test criterion for a level of significance of 5% is: 1 point
2.22
2.02
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=24&assessment=111 6/7
02/07/2020 Data Science for Engineers - - Unit 5 - Week 3
1.98
3.56
No, the answer is incorrect.
Score: 0
Accepted Answers:
1.98
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=24&assessment=111 7/7
02/07/2020 Data Science for Engineers - - Unit 6 - Week 4
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 6 - Week 4
Course
outline Practice Assignment 4
How does an The due date for submitting this assignment has passed. Due on 2020-02-26, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
Week 0 Note : This assignment is only for practice purpose and it will not be counted towards the Final
score
Week 1 1) Class of optimization problems WITH NO constraints are known as 1 point
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=30&assessment=93 1/3
02/07/2020 Data Science for Engineers - - Unit 6 - Week 4
Gradient ( 3) When the feasibility regions defined by equality constraints and inequality constraints are 1 point
Steepest ) compared,
Descent ( OR )
Learning Rule The regions defined by both are exactly the same
(unit? The region defined by the inequality constraint is greater
unit=30&lesson=34)
The region defined by the equality constraint is greater
FAQ (unit? none of the above
unit=30&lesson=35)
No, the answer is incorrect.
Quiz : Practice Score: 0
Assignment 4 Accepted Answers:
(assessment? The region defined by the inequality constraint is greater
name=93)
4) If 𝑓 (𝑥) = 12𝑥
4
− 2𝑥
3
+ 9𝑥
2
+ 5, then the first order necessary condition for either 1 point
Quiz :
maxima or minima of 𝑓 (𝑥) is
Assignment 4
(assessment?
name=113) 2
24𝑥 + 4𝑥 − 6 = 0
Week 4
Feedback (unit? 3 2
48𝑥 − 6𝑥 + 18𝑥 = 0
unit=30&lesson=117)
Solution - 3 2
36𝑥 − 2𝑥 − 6𝑥 = 0
Assignment 4
(unit?
unit=30&lesson=122) 48𝑥
2
− 4𝑥 − 6 = 0
Week 7 5) The restrictions on the possible values of the solution to the optimization problem are called: 1 point
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=30&assessment=93 2/3
02/07/2020 Data Science for Engineers - - Unit 6 - Week 4
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=30&assessment=93 3/3
02/07/2020 Data Science for Engineers - - Unit 6 - Week 4
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 6 - Week 4
Course
outline Assignment 4
How does an The due date for submitting this assignment has passed. Due on 2020-02-26, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
1) Consider 𝑓 (𝑥) , if 𝑥 is the decision variable and 𝑓 is a function to be minimized, then the type 1 point
Week 0 of optimization problem is
Constrained optimization
Week 1
Unconstrained optimization
Week 2 Discrete optimization
None of the above
Week 3
No, the answer is incorrect.
Score: 0
Week 4 Accepted Answers:
Unconstrained optimization
Optimization for
Data Science 2) Match the following 1 point
(unit?
unit=30&lesson=31)
Unconstrained
Multivariate
Optimization
(unit?
unit=30&lesson=32)
Unconstrained
Multivariate
Optimization (
Continued )
(unit?
unit=30&lesson=33)
I - a, II - b , III - c
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=30&assessment=113 1/5
02/07/2020 Data Science for Engineers - - Unit 6 - Week 4
Gradient ( I - b , II - a , III - c
Steepest )
I - a, II - c , III - b
Descent ( OR )
Learning Rule I - c, II - a , III - b
(unit? No, the answer is incorrect.
unit=30&lesson=34) Score: 0
Accepted Answers:
FAQ (unit?
I - b , II - a , III - c
unit=30&lesson=35)
Quiz : Practice
3) In univariate unconstrained optimization the decision variables can be 1 point
Assignment 4
(assessment?
Continuous
name=93) Integral
¯)
−𝑓 (𝑥
′
¯)
𝑓 (𝑥
″
𝑓 ¯)
(𝑥
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=30&assessment=113 2/5
02/07/2020 Data Science for Engineers - - Unit 6 - Week 4
″
−𝑓 ¯)
(𝑥
min 𝑓 (𝑥)
𝑥
′
𝑓 (𝑥) > 0
″
𝑓 (𝑥) < 0
″
𝑓 (𝑥) > 0
′
𝑓 (𝑥) = 1
8) If 𝑓 (𝑥) = 3𝑥
4
+ 2𝑥
3
+ 3𝑥
2
+ 3, then the first order necessary condition for either maxima 1 point
or minima of 𝑓 (𝑥) is
3 2
12𝑥 + 6𝑥 + 3𝑥 = 0
3 2
12𝑥 + 6𝑥 + 6𝑥 = 0
4 3 2
3𝑥 + 2𝑥 + 3𝑥 = 0
3 2
8𝑥 − 18𝑥 − 24𝑥 = 0
2
4
1
-1
No, the answer is incorrect.
Score: 0
Accepted Answers:
4
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=30&assessment=113 3/5
02/07/2020 Data Science for Engineers - - Unit 6 - Week 4
0
-1
-∞
1
No, the answer is incorrect.
Score: 0
Accepted Answers:
-∞
11)If the derivative of the objective function is a polynomial of order ‘N’ and has roots which are 1 point
repeated thrice, then how many stationary
points exist for the objective function?
N-1
N-3
N-2
N
No, the answer is incorrect.
Score: 0
Accepted Answers:
N-2
12)For any two points 𝑥1 and 𝑥2 in [𝑎, 𝑏] and any λ where 0 < λ < 1 the convex function is 1 point
given by
13)Consider a univariate optimization function 𝑓 (𝑥) . If the function satisfies the first order 1 point
condition and gives an output of the minimum
value -5 and the second-order condition gives an output of the minimum value -7. In this which of
the following value would be
considered as a global minimum of 𝑓 (𝑥)
-5
-7
-12
2
No, the answer is incorrect.
Score: 0
Accepted Answers:
-7
14) 1 point
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=30&assessment=113 4/5
02/07/2020 Data Science for Engineers - - Unit 6 - Week 4
Only I is true
Only II is true
Both I and II is true
None of the above
No, the answer is incorrect.
Score: 0
Accepted Answers:
Only I is true
0,2
0,-2.5
0.25,2
2,-2.5
No, the answer is incorrect.
Score: 0
Accepted Answers:
0,2
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=30&assessment=113 5/5
02/07/2020 Data Science for Engineers - - Unit 7 - Week 5
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 7 - Week 5
Course
outline Practice Assignment 5
How does an The due date for submitting this assignment has passed. Due on 2020-03-04, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
Week 0 Note : This assignment is only for practice purpose and it will not be counted towards the Final
score
Week 1 1) For a function 𝑓 (𝑥, 𝑦) 2 2
1 point
= 2𝑥 − 𝑥𝑦 + 𝑦 − 3𝑥 − 𝑦 , the stationary point (𝑥, 𝑦) is
(Hint: Stationary point is a solution to the first order necessary conditions for maxima or minima of
Week 2
𝑓 (𝑥, 𝑦))
Week 3 (0,1)
(-1,0)
Week 4
(1,0)
Week 5 (1,1)
No, the answer is incorrect.
Multivariate Score: 0
Optimization Accepted Answers:
With Equality (1,1)
Constraints
(unit? 2) The Hessian matrix of 𝑓 (𝑥, 𝑦) = 2𝑥
2 2
− 𝑥𝑦 + 𝑦 − 3𝑥 − 𝑦 is 1 point
unit=36&lesson=37)
Multivariate
−4 1
Optimization
With Inequality [ 1 −2 ]
Constraints
(unit?
1 −4
unit=36&lesson=38)
[ −2 1 ]
Introduction to
Data Science
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=36&assessment=94 1/3
02/07/2020 Data Science for Engineers - - Unit 7 - Week 5
(unit? 4 −1
unit=36&lesson=39)
[ −1 2 ]
Solving Data
No, the answer is incorrect.
Analysis Score: 0
Problems - A
Accepted Answers:
Guided Thought
4 −1
Process (unit?
unit=36&lesson=40) [ −1 2 ]
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=36&assessment=94 2/3
02/07/2020 Data Science for Engineers - - Unit 7 - Week 5
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=36&assessment=94 3/3
02/07/2020 Data Science for Engineers - - Unit 7 - Week 5
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 7 - Week 5
Course
outline Assignment 5
How does an The due date for submitting this assignment has passed. Due on 2020-03-04, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
1) In an unconstrained multivariate optimization problem, if the objective function is 𝑓 (𝑥) then 1 point
Week 0 the first order derivative ∇𝑓 is called
gradient
Week 1
hessian
Week 2 polarization
all the above
Week 3
No, the answer is incorrect.
Score: 0
Week 4 Accepted Answers:
gradient
Week 5
2) For an unconstrained multivariate optimization given 𝑓 (𝑥
¯ ) , the necessary second order 1 point
∗
Multivariate condition for 𝑥
¯ to be the minimizer of 𝑓 (𝑥
¯ ) is
Optimization
With Equality
⎯⎯⎯⎯⎯⎯⎯⎯
Constraints 2
∇ 𝑓 (𝑥 )
∗
must be negative definite
(unit?
unit=36&lesson=37)
¯∗
∇𝑓 (𝑥 ) = 0
Multivariate
Optimization
⎯⎯⎯⎯⎯⎯
With Inequality 2
∇ 𝑓 (𝑥 )
∗
must be positive definite
Constraints
(unit? ″ ∗
unit=36&lesson=38) 𝑓 (𝑥 ) > 0
Introduction to
No, the answer is incorrect.
Score: 0
Data Science
Accepted Answers:
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=36&assessment=118 1/6
02/07/2020 Data Science for Engineers - - Unit 7 - Week 5
⎯⎯⎯⎯⎯⎯
(unit? 2 ∗
∇ 𝑓 (𝑥 ) must be positive definite
unit=36&lesson=39)
3) Which of the following statements is/are not TRUE with respect to the multi variate 1 point
Solving Data
Analysis
optimization
Problems - A
Guided Thought I - The gradient of a function at a point is parallel to the contours
Process (unit? II - Gradient points in the direction of greatest increase of the function
unit=36&lesson=40) III - Negative gradients points in the direction of the greatest decrease of the function
IV - Hessian is a non-symmetric matrix
Dataset (unit?
unit=36&lesson=41)
I
FAQ (unit? II and III
unit=36&lesson=42)
I and IV
Quiz : Practice III and IV
Assignment 5
(assessment? No, the answer is incorrect.
name=94) Score: 0
Accepted Answers:
Quiz : I and IV
Assignment 5
(assessment? 4) Consider the below plot to answer the question. In this plot the decision variable (𝑥) is along 1 point
name=118) the x-axis and objective
function 𝑓 (𝑥) is on the y axis
Week 5
Feedback (unit?
unit=36&lesson=121)
Solution -
Assignment 5
(unit?
unit=36&lesson=125)
Week 6
Week 7
Week 8
Text Transcripts
Download Videos
2
6
5
4
No, the answer is incorrect.
Score: 0
Accepted Answers:
4
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=36&assessment=118 2/6
02/07/2020 Data Science for Engineers - - Unit 7 - Week 5
(13/11, -14/33)
(1,1)
(0,2)
(3/5, 2/5)
No, the answer is incorrect.
Score: 0
Accepted Answers:
(13/11, -14/33)
−5 2
[ 2 5]
3 4
[8 1 ]
−5 2
[ 2 8]
−8 3
[ 3 8]
[ 3 8]
7) −4 2 1 point
Consider the hessian matrix 𝐻 (𝑥¯∗ ) = . Find the eigen values of 𝐻 (𝑥¯∗ )
[ 2 4]
[4.472136, -4.472136]
[5.414214 ,5.585786]
[-6.324555,6.324555]
[-1.585786, -4.414214]
No, the answer is incorrect.
Score: 0
Accepted Answers:
[4.472136, -4.472136]
8) The eigen values of the Hessian matrix is [35.60, -0.40] then the hessian matrix is 1 point
positive definite
negative definite
indefinite
negative semi definite
No, the answer is incorrect.
Score: 0
Accepted Answers:
indefinite
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=36&assessment=118 3/6
02/07/2020 Data Science for Engineers - - Unit 7 - Week 5
10)State whether the following statements are true or false for the gradient based algorithms 1 point
I - False, II - True
I - False, II - True
I - True, II - True
I - True, II - False
No, the answer is incorrect.
Score: 0
Accepted Answers:
I - True, II - True
(0,1)
(0,2)
(-4, -2)
(4,2)
No, the answer is incorrect.
Score: 0
Accepted Answers:
(-4, -2)
(-1,1)
(1,1)
(-1, -1)
(1, -1)
N h i i
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=36&assessment=118 4/6
02/07/2020 Data Science for Engineers - - Unit 7 - Week 5
14)The Hessian matrix of 𝑓 (𝑥1 , 𝑥2 ) evaluated at the stationary point obtained in Q.13 is 1 point
400 −200
[ −200 100 ]
240 −120
[ −120 60 ]
242 −120
[ −120 60 ]
−400 −200
[ −200 −100 ]
[ −120 60 ]
15)The eigen values obtained in Hessian matrix Q.14 is ( Round off to two decimal places) 1 point
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=36&assessment=118 5/6
02/07/2020 Data Science for Engineers - - Unit 7 - Week 5
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=36&assessment=118 6/6
02/07/2020 Data Science for Engineers - - Unit 8 - Week 6
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 8 - Week 6
Course
outline Practice Assignment 6
How does an The due date for submitting this assignment has passed. Due on 2020-03-11, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
Week 0 Note : This assignment is only for practice purpose and it will not be counted towards the Final
score
Week 1 1) The higher the value of R2 for a model, the observations are more closely grouped around: 1 point
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=43&assessment=95 1/3
02/07/2020 Data Science for Engineers - - Unit 8 - Week 6
Diagnostics to F-statistic
Improve Linear
predicted value and error
Model Fit (unit?
unit=43&lesson=47) standardised residuals
coefficient and intercept
Simple Linear
Regression No, the answer is incorrect.
Model Building Score: 0
(unit? Accepted Answers:
unit=43&lesson=48) coefficient and intercept
Simple Linear 4) The Pearson’s correlation coefficient between two parameters is calculated to be 0.10. What 1 point
Regression can be inferred from the correlation coefficient regarding
Model the relationship between the two parameters?
Assessment
(unit? There exists a weak negative relationship between two variables
unit=43&lesson=49)
There exists a strong negative relationship between two variables
Simple Linear There exists a weak positive relationship between two variables
Regression
Model Correlation coefficient cannot possess this value
Assessment ( No, the answer is incorrect.
Continued ) Score: 0
(unit? Accepted Answers:
unit=43&lesson=50) There exists a weak positive relationship between two variables
Muliple Linear 5) Standardised residuals have:- 1 point
Regression
(unit? binomial distribution with n degrees of freedom
unit=43&lesson=51)
t distribution with n-2 degrees of freedom
Dataset (unit? log-normal distribution with n-2 degrees of freedom
unit=43&lesson=52)
chi-square distribution with n degrees of freedom
FAQ (unit?
No, the answer is incorrect.
unit=43&lesson=53)
Score: 0
Quiz : Practice Accepted Answers:
Assignment 6 t distribution with n-2 degrees of freedom
(assessment?
name=95)
Quiz :
Assignment 6
(assessment?
name=119)
Week 6
Feedback (unit?
unit=43&lesson=123)
Solution -
Assignment 6
(unit?
unit=43&lesson=128)
Week 7
Week 8
Text Transcripts
Download Videos
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=43&assessment=95 2/3
02/07/2020 Data Science for Engineers - - Unit 8 - Week 6
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=43&assessment=95 3/3
02/07/2020 Data Science for Engineers - - Unit 8 - Week 6
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 8 - Week 6
Course
outline Assignment 6
How does an The due date for submitting this assignment has passed. Due on 2020-03-11, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
1) The graph for the straight-line y=mx+b (m - slope, b - intercept) will have a upward slope when 1 point
Week 0 the value of
m=0
Week 1
m>0
Week 2 m<0
m≥0
Week 3
No, the answer is incorrect.
Score: 0
Week 4 Accepted Answers:
m>0
Week 5
2) In the simple linear regression equation 𝑦 = 25.9 + 42𝑥 , where the value 25.9 refers to 1 point
Week 6 intercept
Module : slope
Predictive error
Modelling (unit?
prediction
unit=43&lesson=44)
No, the answer is incorrect.
Linear Score: 0
Regression Accepted Answers:
(unit? intercept
unit=43&lesson=45)
Model
Based on the information given below answer the questions 3 and 4
Assessment
The total sales amount (y) and price for each model of toaster(x) was recorded.
(unit?
unit=43&lesson=46)
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=43&assessment=119 1/5
02/07/2020 Data Science for Engineers - - Unit 8 - Week 6
Diagnostics to
Improve Linear
Model Fit (unit?
unit=43&lesson=47)
Simple Linear
Regression
Model Building
(unit?
unit=43&lesson=48)
Simple Linear
Regression
Model
Assessment
(unit? 3) Given the following model equation 𝑦 = 173.48𝑥 − 3781.98 , the estimated sales amount 1 point
unit=43&lesson=49) for a 56-dollar toaster is
N h i i
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=43&assessment=119 2/5
02/07/2020 Data Science for Engineers - - Unit 8 - Week 6
correlation is equal to 0
correlation is less than 0
coefficient of determination(R2) must be equal to 1
coefficient of determination(R2) is equal to 0
No, the answer is incorrect.
Score: 0
Accepted Answers:
coefficient of determination(R2) must be equal to 1
8) Which of the following is/ are TRUE with respect to Pearson’s correlation(𝑟 𝑥𝑦 )? 1 point
The data is about vehicle performance. The objective is to predict the miles per gallon given the weight
of the car .
9) Correlation between mpg and weight is (round off to two decimal places) 1 point
0.71
-0.88
0.69
0.92
No, the answer is incorrect.
Score: 0
Accepted Answers:
-0.88
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=43&assessment=119 3/5
02/07/2020 Data Science for Engineers - - Unit 8 - Week 6
y= 0.0407+7.032x
y=-0.00629+40x
y=0.020+0.45784x
y=40.56198-0.00629x
No, the answer is incorrect.
Score: 0
Accepted Answers:
y=40.56198-0.00629x
11)The second quartile residual value for the linear model built on the Auto.csv data is 1 point
-1.91568
-7.2145
-0.08124
1.73406
No, the answer is incorrect.
Score: 0
Accepted Answers:
-0.08124
12)From the regression model, the proportion of the variability explained in dependent variable by 1 point
the independent variable is
77%
12%
88%
42%
No, the answer is incorrect.
Score: 0
Accepted Answers:
77%
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=43&assessment=119 4/5
02/07/2020 Data Science for Engineers - - Unit 8 - Week 6
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=43&assessment=119 5/5
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 9 - Week 7
Course
outline Practice Assignment 7
How does an The due date for submitting this assignment has passed. Due on 2020-03-18, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
Week 0 Note : This assignment is only for practice purpose and it will not be counted towards the Final
score
Week 1 1) Which one of the following is called as the odds ratio? 1 point
Week 2 The ratio of the probability of an event occurring to the probability of the event not occurring
The ratio of the probability of an event not occurring to the probability of the event occurring
Week 3
The probability of an event occurring
The probability of an event not occurring
Week 4
No, the answer is incorrect.
Week 5 Score: 0
Accepted Answers:
The ratio of the probability of an event occurring to the probability of the event not occurring
Week 6
2) In confusion matrix, the misclassification rate is given by 1 point
Week 7
Regression
Modelling 𝐹 𝑎𝑙𝑠𝑒 𝑁 𝑒𝑔𝑎𝑡𝑖𝑣𝑒+𝑇 𝑟𝑢𝑒 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒
Selection (unit?
unit=55&lesson=56) 𝑇 𝑟𝑢𝑒 𝑁 𝑒𝑔𝑎𝑡𝑖𝑣𝑒+𝑇 𝑟𝑢𝑒 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒
N h i i
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=96 1/3
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7
Dataset (unit?
Sine of the dependent variable
unit=55&lesson=62) None of the above
Week 8
Text Transcripts
Download Videos
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=96 2/3
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=96 3/3
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 9 - Week 7
Course
outline Assignment 7
How does an The due date for submitting this assignment has passed. Due on 2020-03-18, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
Cross Validation +∞
(unit?
-∞
unit=55&lesson=54)
0
Multiple Linear
1
Regression
Modelling No, the answer is incorrect.
Building and Score: 0
Selection (unit? Accepted Answers:
unit=55&lesson=56) 1
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 1/6
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7
Dataset (unit?
unit=55&lesson=62)
Based on the information given below answer the questions from 5 to 7.
FAQ (unit? Read the given dataset ‘auto_mpg.csv’ in Rstudio.
unit=55&lesson=63)
The data is about vehicle performance. The objective is to predict the miles per gallon given the other
Quiz : Practice
Assignment 7 attributes.
(assessment?
name=96)
Quiz :
Assignment 7
(assessment?
name=124)
Week 7
Feedback (unit?
unit=55&lesson=126)
Solution -
Assignment 7
(unit?
unit=55&lesson=130)
Week 8
Text Transcripts Build the linear regression model ‘model_1’ using the above variables
5) The intercept of the full model is (rounded off to two decimal places) 1 point
Download Videos
1.43
0.15
7.12
4.98
No, the answer is incorrect.
Score: 0
Accepted Answers:
7.12
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 2/6
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7
6) The coefficient of the variable model_year is (rounded off to three decimal places) 1 point
0.459
-0.041
0.005
7.123
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.459
After identifying the significant variables from question 7, build the new model ‘model_2’ using the
same.
0.802
0.782
0.79
0.814
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.814
9) The standard error corresponding to the coefficient of model_year for model_2 is (rounded 1 point
off to three decimal places)
0.057
0.001
0.470
4.342
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.057
Build the linear regression model ‘model_3’ using all the variables except displacement and
acceleration.
Answer questions 10 to 11 based on this model.
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 3/6
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7
0.801
0.791
0.813
0.816
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.813
11)The t value corresponding to the coefficient for the variable horsepower is 1 point
1.335
-1.373
-0.336
-0.002
No, the answer is incorrect.
Score: 0
Accepted Answers:
-0.336
12)Which of the following performance measures cannot be used for regression? 1 point
R-Squared
RMSE
Accuracy
Durbin-Watson
No, the answer is incorrect.
Score: 0
Accepted Answers:
Accuracy
Based on the information given below answer the questions from 14 to 20.
Given the datasets “Titanic_Train.csv” & “Titanic_Test.csv" read them as two separate data frames -
Train_Data and Test_Data.
The data provides information on the fate of passengers on the fatal maiden voyage of the ocean liner
‘Titanic’, and the description
of variables are given below. Build a logistic regression model using the “Train_Data” after identifying
the output class label. Predict the model on the “Test_Data” and answer the questions from 14 to
19.
13)The estimate value of intercept is (rounded off to two decimal places) 1 point
3.95
4.69
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 4/6
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7
5.83
6.69
No, the answer is incorrect.
Score: 0
Accepted Answers:
4.69
14)The standard error for the coefficient of variable Pclass is (rounded off to two decimal places) 1 point
0.86
0.36
0.16
0.57
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.16
0.74
0.86
0.69
0.79
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.79
63
24
43
19
No, the answer is incorrect.
Score: 0
Accepted Answers:
43
0.768
0.782
0.724
0.791
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.768
18)Balanced accuracy of the model is (rounded off to three decimal places) 1 point
0.791
0.782
0.729
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 5/6
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7
0.7241
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.782
0.79
0.21
1
0.78
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.21
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 6/6
02/07/2020 Data Science for Engineers - - Unit 10 - Week 8
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 10 - Week 8
Course
outline Practice Assignment 8
How does an The due date for submitting this assignment has passed. Due on 2020-03-25, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
Week 0 Note : This assignment is only for practice purpose and it will not be counted towards the Final
score
Week 1 1) The most commonly used distance metric to calculate distance between centroid of each 1 point
cluster and data points in K-means algorithm is
Week 2
Chebyshev distance
Week 3 Manhattan
Euclidean distance
Week 4
None of the above
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=64&assessment=97 1/3
02/07/2020 Data Science for Engineers - - Unit 10 - Week 8
Quiz : The inter cluster distance is minimized and intra cluster distance is maximized
Assignment 8
(assessment? The inter cluster distance is maximized and intra cluster distance is minimized
name=127) Both inter cluster and intra cluster distance are minimized
Week 8 Both inter cluster and intra cluster distance are maximized
Feedback (unit? No, the answer is incorrect.
unit=64&lesson=129) Score: 0
Accepted Answers:
Solution -
The inter cluster distance is maximized and intra cluster distance is minimized
Assignment 8
(unit?
unit=64&lesson=131)
Text Transcripts
Download Videos
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=64&assessment=97 2/3
02/07/2020 Data Science for Engineers - - Unit 10 - Week 8
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=64&assessment=97 3/3
02/07/2020 Data Science for Engineers - - Unit 10 - Week 8
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Unit 10 - Week 8
Course
outline Assignment 8
How does an The due date for submitting this assignment has passed. Due on 2020-03-25, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
Week 7 2) Which of the following statement is/are NOT true about k-NN algorithm? 1 point
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=64&assessment=127 1/5
02/07/2020 Data Science for Engineers - - Unit 10 - Week 8
Week 8
Feedback (unit?
unit=64&lesson=129)
Solution -
Assignment 8
(unit?
unit=64&lesson=131)
Text Transcripts
Download Videos
Normalize the data using scale function and build the K-means algorithm with the given conditions:
random number generator = 1234
number of clusters = 3
nstart=25
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=64&assessment=127 2/5
02/07/2020 Data Science for Engineers - - Unit 10 - Week 8
46.5, 203.3,326.3
326.4, 385.7, 558.7
No, the answer is incorrect.
Score: 0
Accepted Answers:
326.4, 385.7, 558.7
59, 65, 48
26, 57, 37
62, 65, 51
16, 30, 49
No, the answer is incorrect.
Score: 0
Accepted Answers:
62, 65, 51
7) From the elbow plot given below, the optimal numbers of clusters are 1 point
3 or 4
4 or 5
5 or 6
1 or 2
No, the answer is incorrect.
Score: 0
Accepted Answers:
3 or 4
8) Consider a kNN model built on a large set of data. Which of the following statements best 1 point
describe the effect of choosing a lower k
value when the data is considerably large?
I - True , II - True
I- False , II - True
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=64&assessment=127 3/5
02/07/2020 Data Science for Engineers - - Unit 10 - Week 8
I -True , II - False
I- False , II – False
No, the answer is incorrect.
Score: 0
Accepted Answers:
I- False , II - True
9) The Euclidean distance between the two data points A (-3,3) and B (7,7) is _________ 1 point
√115
‾‾‾‾
√116
‾‾‾‾
√117
‾‾‾‾
√118
‾‾‾‾
10)When the k Nearest Neighbours algorithm is used for prediction, the values are calculated by: 1 point
11)What is the advantage of using an odd value of k in binary classification problems using kNN 1 point
algorithm?
True
False
No, the answer is incorrect.
Score: 0
Accepted Answers:
True
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=64&assessment=127 4/5
02/07/2020 Data Science for Engineers - - Unit 10 - Week 8
https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=64&assessment=127 5/5