Professional Documents
Culture Documents
DEPARTMENT OF MATHEMATICS
Date 27 January 2021 Time 2:00 PM to 4:00 PM
Test II (OPEN BOOK_Online) Maximum Marks 50
Course Title MATHEMATICS FOR MACHINE LEARNING Course Code 18G5B17
Semester V Programs Global Elective
Instructions: i) Answer all questions. Use of Scientific calculator is allowed.
1|Page
Academic year 2021-2022 (Odd semester 2021)
2|Page
Academic year 2021-2022 (Odd semester 2021)
DEPARTMENT OF MATHEMATICS
Date 27 January 2021 Time 2:00 PM to 4:00 PM
Test II (OPEN BOOK_Online) Maximum Marks 50
Course Title MATHEMATICS FOR MACHINE LEARNING Course Code 18G5B17
Semester V Programs Global Elective
Instructions: i) Answer all questions. Use of Scientific calculator is allowed.
a) Construct maximum likelihood probability tables for the attributes: (colour, sports
and origin).
b) Set up a Naïve Bayes model to classify the cars into which category would you
classify a RED DOMESTIC SUV?
2. Random variables X and Y have the joint PDF
c x + y , x = -2, 0, 2 ; y = -1, 0, 1
PX, Y (x, y) = 10 2 3
0, otherwise
a) Determine the value of the constant c and P [Y=X].
b) Compute the covariance matrix and correlation matrix for the above data.
3.
Students’ scores in the advanced statistical methods course examination, x, and on the
cumulative grade point average (CGPA), y are given below:
x 4 2 5 3 2 3 4 3 5 2 10 2 2
y 3.12 3.00 4.5 4.75 3 3.5 3.75 4.12 4.54 3.1
a) Fit a regression model ŷ i = β0 + β1 x, where x = assessed value (in thousands of
rupees) and y = selling price (in thousands of rupees) using the method of least squares.
b) Calculate the fitted values ŷ i and residuals ê i ; i = 1, 2… 8.
1|Page
Academic year 2021-2022 (Odd semester 2021)
2|Page
Academic year 2021-2022 (Odd semester 2021)
DEPARTMENT OF MATHEMATICS
Date 27 January 2021 Time 2:00 PM to 4:00 PM
Test II (OPEN BOOK_Online) Maximum Marks 50
Course Title MATHEMATICS FOR MACHINE LEARNING Course Code 18G5B17
Semester V Programs Global Elective
Instructions: i) Answer all questions. Use of Scientific calculator is allowed.
4. The following are the data on the variables x1 = sales (in billions) and x2 = profits (in
billions) for the four companies:
x1 9 2 6 5 7 6 2
x2 12 8 6 4 5 4 5 10 3 4
Apply principal component analysis technique to reduce the dimensions for the above
data. Note: For covariance calculations, the denominator is the total number of data
points in the set.
2|Page
Academic year 2021-2022 (Odd semester 2021)
DEPARTMENT OF MATHEMATICS
Date 27 January 2021 Time 2:00 PM to 4:00 PM
Test II (OPEN BOOK_Online) Maximum Marks 50
Course Title MATHEMATICS FOR MACHINE LEARNING Course Code 18G5B17
Semester V Programs Global Elective
Instructions: i) Answer all questions. Use of Scientific calculator is allowed.
a) Construct maximum likelihood probability tables for the attributes: (colour, sports
and origin).
b) Set up a Naïve Bayes model to classify the cars into which category would you
classify a RED DOMESTIC SUV?
1|Page
Academic year 2021-2022 (Odd semester 2021)
4.
The joint probability distribution of a pair of random variables (x, y), where x is scaled
temperature and y is difference in temperature as given by the following table:
P X, Y (x, y) x = 0 x = 1 x = 2 x = 3
y=0 0.05 0.07 0.12 0.08 10 2 3
y=1 0.13 0.21 0.08 0.15
y=2 0.07 0.02 0.01 0.01
a) Determine the marginal PMFs of the random variables X and Y.
b) Compute the covariance matrix and correlation matrix for the above data.
5. Consider the following two-dimensional data.
X 1 2 4 5 7 6
Y 2 5 9 8 5 4 10 3 4
Apply principal component analysis technique to reduce the dimensions for the above
data. Note: For covariance calculations, the denominator is the total number of data
points in the set.
2|Page