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

AI Midterm Lab Quiz 1 - Attempt Review

Uploaded by

koraijohnson7
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

AI Midterm Lab Quiz 1 - Attempt Review

Uploaded by

koraijohnson7
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

08/06/2024, 09:28 Midterm Lab Quiz 1: Attempt review

Started on Saturday, 8 June 2024, 6:13 AM


State Finished
Completed on Saturday, 8 June 2024, 6:28 AM
Time taken 14 mins 46 secs
Marks 17.00/20.00
Grade 85.00 out of 100.00

Question 1
Correct

Mark 1.00 out of 1.00

The KL distance is also known as what other measure?

a. Cross-entropy 
b. Mutual information
c. Joint entropy
d. Shannon entropy

Question 2

Correct

Mark 1.00 out of 1.00

The ______________ linkage criterion is a popular choice for hierarchical clustering, which merges the two clusters based on the mean
distance between their points.

a. Single
b. Complete
c. Centroid
d. Average 

Question 3

Correct

Mark 1.00 out of 1.00

In hierarchical clustering, the final clusters are represented using a ______________ diagram.

a. Dendrogram 
b. Scatter plot
c. Line graph
d. Bar chart

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=117960&cmid=64466 1/7
08/06/2024, 09:28 Midterm Lab Quiz 1: Attempt review

Question 4

Correct

Mark 1.00 out of 1.00

Is the least squares method a deterministic or a probabilistic method?

a. Both deterministic and probabilistic


b. Deterministic 
c. Probabilistic
d. Neither deterministic nor probabilistic

Question 5
Correct

Mark 1.00 out of 1.00

The KL distance can be used to measure the difference between two probability distributions in terms of the information content of
the distributions. In this context, the KL distance is also known as:

a. The information ratio


b. The information distance
c. The information divergence 
d. The information gain

Question 6
Correct

Mark 1.00 out of 1.00

The ______________ linkage criterion is a popular choice for hierarchical clustering, which merges the two clusters based on the distance
between their centroids.

a. Complete
b. Centroid 
c. Single
d. Average

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=117960&cmid=64466 2/7
08/06/2024, 09:28 Midterm Lab Quiz 1: Attempt review

Question 7

Correct

Mark 1.00 out of 1.00

The KL distance is often used in machine learning and artificial intelligence to compare two probability distributions, such as a
model's predicted distribution and the true distribution. In this context, the KL distance can be used as a:

a. Activation function
b. Cost function
c. Loss function 
d. Kernel function

Question 8

Correct

Mark 1.00 out of 1.00

The KL distance between two discrete probability distributions P and Q is defined as:

a. The sum of the ratio of the probabilities of each event in P and Q


b. The sum of the products of the probabilities of each event in P and Q
c. The sum of the logarithm of the ratio of the probabilities of each event in P and Q 
d. The sum of the differences between the probabilities of each event in P and Q

Question 9
Correct

Mark 1.00 out of 1.00

The ______________ linkage criterion is a popular choice for hierarchical clustering, which merges the two clusters that have the
maximum distance between them.

a. Average
b. Centroid
c. Single 
d. Complete

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=117960&cmid=64466 3/7
08/06/2024, 09:28 Midterm Lab Quiz 1: Attempt review

Question 10

Incorrect

Mark 0.00 out of 1.00

What are some disadvantages of batch learning algorithms?

a. They are prone to overfitting


b. They require a small amount of data 
c. They require a large amount of resources
d. They are slow to adapt to changes in the data

Question 11
Incorrect

Mark 0.00 out of 1.00

The ______________ linkage criterion is a popular choice for hierarchical clustering, which merges the two clusters that have the
minimum distance between them.

a. Average
b. Centroid
c. Single 
d. Complete

Question 12
Correct

Mark 1.00 out of 1.00

The KL distance is often used in machine learning to evaluate the performance of a classification model. In this context, a low KL
distance indicates that the model's predicted class probabilities are:

a. Somewhat different from the true class probabilities


b. Somewhat similar to the true class probabilities 
c. Very different from the true class probabilities
d. Very similar to the true class probabilities

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=117960&cmid=64466 4/7
08/06/2024, 09:28 Midterm Lab Quiz 1: Attempt review

Question 13

Correct

Mark 1.00 out of 1.00

How is the y-intercept of the line of best fit calculated using the least squares method?

a. By subtracting the slope from the mean of the y values


b. By dividing the sum of the y values by the number of data points
c. By dividing the mean of the y values by the slope
d. By dividing the sum of the product of the x values and the y values by the sum of the x values 

Question 14
Correct

Mark 1.00 out of 1.00

What are some advantages of batch learning algorithms?

a. They can learn from a limited amount of resources 


b. They can learn from very large datasets
c. They can learn from a small amount of data
d. They can learn from streaming data in real-time

Question 15

Correct

Mark 1.00 out of 1.00

How is the slope of the line of best fit calculated using the least squares method?

a. By dividing the sum of the y values by the sum of the x values


b. By dividing the sum of the product of the x values and the y values by the sum of the x values
c. By dividing the sum of the product of the x values and the y values by the sum of the squares of the x values 
d. By dividing the sum of the y values by the sum of the squares of the x values

Question 16
Correct

Mark 1.00 out of 1.00

The KL distance can be used to measure the information lost when approximating one distribution with another. In this context, the
distribution being approximated is known as the:

a. Target distribution
b. Base distribution 
c. Reference distribution
d. Approximation distribution

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=117960&cmid=64466 5/7
08/06/2024, 09:28 Midterm Lab Quiz 1: Attempt review

Question 17

Correct

Mark 1.00 out of 1.00

In hierarchical clustering, the distance between clusters is typically measured using the ______________ criterion.

a. Manhattan distance
b. Euclidean distance
c. Linkage criterion 
d. Cosine similarity

Question 18
Correct

Mark 1.00 out of 1.00

The KL distance is often used in natural language processing to compare the distribution of words in a document with the
distribution of words in a reference corpus. In this context, a low KL distance indicates that the document is:

a. Very similar to the reference corpus


b. Somewhat similar to the reference corpus 
c. Very different from the reference corpus
d. Somewhat different from the reference corpus

Question 19
Correct

Mark 1.00 out of 1.00

In information theory, the KL distance can be used to measure the information lost when approximating one distribution with
another. Which of the following is NOT a property of the KL distance in this context?

a. It is non-symmetric 
b. It is non-negative
c. It is zero only when the two distributions are identical
d. It is always positive

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=117960&cmid=64466 6/7
08/06/2024, 09:28 Midterm Lab Quiz 1: Attempt review

Question 20

Incorrect

Mark 0.00 out of 1.00

The KL distance is always positive and is equal to zero only when the two probability distributions are:

a. Mutually exclusive 
b. Identically distributed
c. Uniformly distributed
d. Independently distributed

◄ Midterm Quiz 1

Jump to...

Module 7 ►

https://trimestral.amaesonline.com/2333/mod/quiz/review.php?attempt=117960&cmid=64466 7/7

You might also like