Wednesday, 12 June 2024, 11:21 PM Finished Wednesday, 12 June 2024, 11:44 PM 23 Mins 12 Secs 20.00/20.00 Out of 100.00

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

6/12/24, 11:45 PM Midterm Lab Quiz 2: Attempt review

Started on Wednesday, 12 June 2024, 11:21 PM


State Finished
Completed on Wednesday, 12 June 2024, 11:44 PM
Time taken 23 mins 12 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 EM algorithm used to estimate in the "E" step?

a. The latent variables 


b. The prediction accuracy of the model
c. The likelihood of the model
d. The model parameters

Question 2

Correct

Mark 1.00 out of 1.00

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

a. It is faster to train and predict 


b. It is more accurate
c. It is more flexible
d. It is able to handle large amounts of data

Question 3
Correct

Mark 1.00 out of 1.00

What is the EM algorithm used for?

a. Classification
b. Regression
c. All of the above 
d. Clustering

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=130465&cmid=64470 1/6
6/12/24, 11:45 PM Midterm Lab Quiz 2: Attempt review

Question 4

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 expectation of the latent variables is calculated
c. The step where the model parameters are updated 
d. The step where the prediction accuracy of the model is calculated

Question 5
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 uniformly distributed
c. That the features in the data are independent of each other 
d. That the features in the data are normally distributed

Question 6

Correct

Mark 1.00 out of 1.00

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

a. The step where the expectation of the latent variables is calculated 


b. The step where the likelihood of the model is maximized
c. The step where the prediction accuracy of the model is calculated
d. The step where the model parameters are updated

Question 7
Correct

Mark 1.00 out of 1.00

What is the main goal of the EM algorithm?

a. To maximize the likelihood of a model given the data 


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

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=130465&cmid=64470 2/6
6/12/24, 11:45 PM Midterm Lab Quiz 2: Attempt review

Question 8

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 calculate the output of a neural network
d. A rule used to determine the structure of a neural network

Question 9
Correct

Mark 1.00 out of 1.00

What is the disadvantage of the Naive Bayes classifier?

a. It is unable to handle large amounts of data


b. It is inflexible
c. It is slower to train and predict
d. It is less accurate 

Question 10

Correct

Mark 1.00 out of 1.00

What is the main disadvantage of the Hebb rule?

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

Question 11
Correct

Mark 1.00 out of 1.00

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

a. The latent variables


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

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=130465&cmid=64470 3/6
6/12/24, 11:45 PM Midterm Lab Quiz 2: Attempt review

Question 12

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 more efficient for storing and processing data


b. DAGs are easier to understand and visualize
c. All of the above
d. DAGs can represent more complex relationships between data 

Question 13
Correct

Mark 1.00 out of 1.00

What is the learning rule for a perceptron called?

a. The Hebbian Rule 


b. The Delta Rule
c. The Backpropagation Algorithm
d. The Perceptron Learning Algorithm

Question 14

Correct

Mark 1.00 out of 1.00

What is supervised learning used for?

a. Unsupervised learning tasks


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

Question 15
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 able to handle categorical features


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

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=130465&cmid=64470 4/6
6/12/24, 11:45 PM Midterm Lab Quiz 2: Attempt review

Question 16

Correct

Mark 1.00 out of 1.00

What is the equation for the Hebb rule?

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


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

Question 17
Correct

Mark 1.00 out of 1.00

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

a. To measure the uncertainty of a probability distribution


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

Question 18

Correct

Mark 1.00 out of 1.00

What is the Naive Bayes classifier used for?

a. To classify data into different categories based on certain features 


b. To predict the probability of an event occurring
c. To predict the value of a continuous variable
d. All of the above

Question 19
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 find the line of best fit for a set of data 
c. To calculate the variance of a data set
d. To solve systems of linear equations

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=130465&cmid=64470 5/6
6/12/24, 11:45 PM Midterm Lab Quiz 2: Attempt review

Question 20

Correct

Mark 1.00 out of 1.00

What is the main advantage of the Hebb rule?

a. It is able to handle large datasets


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

◄ Midterm Quiz 2

Jump to...

Module 9 ►

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

You might also like