0% found this document useful (0 votes)
3 views

Midterm Lab Quiz 2_ Attempt review

The document reviews a Midterm Lab Quiz 2, completed on June 16, 2024, with a perfect score of 100%. It includes questions on the EM algorithm, Hebb rule, Naive Bayes classifier, and various learning methods, all of which were answered correctly. The quiz assesses understanding of machine learning concepts and algorithms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Midterm Lab Quiz 2_ Attempt review

The document reviews a Midterm Lab Quiz 2, completed on June 16, 2024, with a perfect score of 100%. It includes questions on the EM algorithm, Hebb rule, Naive Bayes classifier, and various learning methods, all of which were answered correctly. The quiz assesses understanding of machine learning concepts and algorithms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

7/16/24, 8:12 AM Midterm Lab Quiz 2: Attempt review

Started on Sunday, 16 June 2024, 7:20 PM


State Finished
Completed on Sunday, 16 June 2024, 7:24 PM
Time taken 4 mins 30 secs
Marks 20.00/20.00
Grade 100.00 out of 100.00

Question 1
Correct

Mark 1.00 out of 1.00

What is the "E" step in the EM algorithm?

a. The step where the likelihood of the model is maximized


b. The step where the prediction accuracy of the model is calculated
c. The step where the model parameters are updated
d. The step where the expectation of the latent variables is calculated 

Question 2

Correct

Mark 1.00 out of 1.00

What is the main disadvantage of the Hebb rule?

a. It is unable to handle large datasets


b. It is unable to handle nonlinear relationships 
c. It is prone to overfitting
d. It is slow to converge

Question 3
Correct

Mark 1.00 out of 1.00

What is the learning rule for a perceptron called?

a. The Delta Rule


b. The Perceptron Learning Algorithm
c. The Hebbian Rule 
d. The Backpropagation Algorithm

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=142424&cmid=64470 1/6
7/16/24, 8:12 AM Midterm Lab Quiz 2: Attempt review

Question 4

Correct

Mark 1.00 out of 1.00

What is the EM algorithm used for?

a. All of the above 


b. Classification
c. Regression
d. Clustering

Question 5
Correct

Mark 1.00 out of 1.00

What is the main goal of the EM algorithm?

a. To minimize the error between the predicted and actual values of the data
b. To minimize the cost or loss function of a model
c. To maximize the prediction accuracy of the model
d. To maximize the likelihood of a model given the data 

Question 6

Correct

Mark 1.00 out of 1.00

What is supervised learning used for?

a. Regression tasks
b. Unsupervised learning tasks
c. Classification tasks
d. Both classification and regression tasks 

Question 7
Correct

Mark 1.00 out of 1.00

What is the equation for the Hebb rule?

a. w(new) = w(old) + η(target - output)x(input)


b. w(new) = w(old) + η(output)x(input) 
c. w(new) = w(old) + η(output - target)x(input)
d. w(new) = w(old) + η(input - output)x(target)

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=142424&cmid=64470 2/6
7/16/24, 8:12 AM Midterm Lab Quiz 2: Attempt review

Question 8

Correct

Mark 1.00 out of 1.00

What is the disadvantage of the Naive Bayes classifier?

a. It is slower to train and predict


b. It is unable to handle large amounts of data
c. It is inflexible
d. It is less accurate 

Question 9
Correct

Mark 1.00 out of 1.00

What is the advantage of the Naive Bayes classifier over other classifiers?

a. It is able to handle large amounts of data


b. It is more accurate
c. It is faster to train and predict 
d. It is more flexible

Question 10

Correct

Mark 1.00 out of 1.00

What is the advantage of using the Gaussian Naive Bayes classifier over other types of Naive Bayes classifiers?

a. It is more accurate
b. It is able to handle continuous features 
c. It is able to handle categorical features
d. It is faster to train and predict

Question 11
Correct

Mark 1.00 out of 1.00

What is the EM algorithm used to estimate in the "E" step?

a. The likelihood of the model


b. The prediction accuracy of the model
c. The model parameters
d. The latent variables 

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=142424&cmid=64470 3/6
7/16/24, 8:12 AM Midterm Lab Quiz 2: Attempt review

Question 12

Correct

Mark 1.00 out of 1.00

What is the assumption made by the Naive Bayes classifier?

a. That the features in the data are dependent on each other


b. That the features in the data are independent of each other 
c. That the features in the data are normally distributed
d. That the features in the data are uniformly distributed

Question 13
Correct

Mark 1.00 out of 1.00

What is the EM algorithm used to optimize in the "M" step?

a. The prediction accuracy of the model


b. The likelihood of the model 
c. The latent variables
d. The model parameters

Question 14

Correct

Mark 1.00 out of 1.00

What is the Kullback-Leibler (KL) distance used for?

a. To measure the predictability of a probability distribution


b. To measure the similarity between two probability distributions
c. To measure the dissimilarity between two probability distributions 
d. To measure the uncertainty of a probability distribution

Question 15
Correct

Mark 1.00 out of 1.00

What is the main advantage of the Hebb rule?

a. It is fast to converge 
b. It is easy to implement
c. It is able to handle large datasets
d. It is able to handle nonlinear relationships

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=142424&cmid=64470 4/6
7/16/24, 8:12 AM Midterm Lab Quiz 2: Attempt review

Question 16

Correct

Mark 1.00 out of 1.00

What is the least squares method used for?

a. To calculate the mean of a data set


b. To solve systems of linear equations
c. To calculate the variance of a data set
d. To find the line of best fit for a set of data 

Question 17
Correct

Mark 1.00 out of 1.00

What is the Hebb rule?

a. A rule used to determine the input to a neural network


b. A rule used to adjust the weights in a neural network 
c. A rule used to determine the structure of a neural network
d. A rule used to calculate the output of a neural network

Question 18

Correct

Mark 1.00 out of 1.00

What is the "M" step in the EM algorithm?

a. The step where the likelihood of the model is maximized


b. The step where the prediction accuracy of the model is calculated
c. The step where the expectation of the latent variables is calculated
d. The step where the model parameters are updated 

Question 19
Correct

Mark 1.00 out of 1.00

What is the Naive Bayes classifier used for?

a. All of the above


b. To predict the probability of an event occurring
c. To classify data into different categories based on certain features 
d. To predict the value of a continuous variable

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=142424&cmid=64470 5/6
7/16/24, 8:12 AM Midterm Lab Quiz 2: Attempt review

Question 20

Correct

Mark 1.00 out of 1.00

What is the main advantage of using a directed acyclic graph (DAG) over other types of graphs?

a. DAGs are easier to understand and visualize


b. All of the above
c. DAGs can represent more complex relationships between data 
d. DAGs are more efficient for storing and processing data

◄ Midterm Quiz 2

Jump to...

Module 9 ►

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=142424&cmid=64470 6/6

You might also like