AI FUND Midterm Lab Exam - 100 - 100
AI FUND Midterm Lab Exam - 100 - 100
Question 1
Correct
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:
Select one:
a. Activation function
b. Loss function
c. Kernel function
d. Cost function
Question 2
Correct
Select one:
a. Sampling
b. De-duplication
c. Cleaning
d. Filtering
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 1/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 3
Correct
Select one:
a. By selecting the set of clusters that maximize the within-cluster variance
b. By selecting the set of clusters that minimize the within-cluster variance
c. By selecting the set of clusters that maximize the sum of squared errors
d. By selecting the set of clusters that minimize the sum of squared errors
Question 4
Correct
How is the line of best fit calculated using the least squares method?
Select one:
a. By minimizing the variance of the data set
b. By minimizing the sum of the absolute values of the errors between the data points and the line of best fit
c. By minimizing the mean of the data set
d. By minimizing the sum of the squares of the errors between the data points and the line of best fit
Question 5
Correct
Select one:
a. Data transformation
b. Machine learning
c. Data storage
d. Flow-based programming
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 2/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 6
Correct
The KL distance is always positive and is equal to zero only when the two probability distributions are:
Select one:
a. Uniformly distributed
b. Mutually exclusive
c. Independently distributed
d. Identically distributed
Question 7
Correct
Select one:
a. A graph in which the edges have a direction and there are cycles
b. A graph in which the edges have a direction and there are no cycles
c. A graph in which the edges do not have a direction and there are cycles
d. A graph in which the edges do not have a direction and there are no cycles
Question 8
Correct
Select one:
a. They can learn from very large datasets
b. They can learn from a limited amount of resources
c. They can learn from streaming data in real-time
d. They can learn from a small amount of data
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 3/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 9
Correct
The ______________ linkage criterion is a popular choice for hierarchical clustering, which merges the two clusters that have the
minimum distance between them.
Select one:
a. Centroid
b. Complete
c. Average
d. Single
Question 10
Correct
Select one:
a. Supervised learning involves predicting a continuous value, while unsupervised learning involves predicting a categorical
value
b. Supervised learning involves labeled data, while unsupervised learning involves unlabeled data
c. Supervised learning involves predicting a value, while unsupervised learning involves clustering data
d. Supervised learning involves clustering data, while unsupervised learning involves predicting a value
Question 11
Correct
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:
Select one:
a. The information divergence
b. The information gain
c. The information distance
d. The information ratio
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 4/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 12
Correct
Select one:
a. Customer segmentation
b. Image compression
c. Anomaly detection
d. Regression analysis
Question 13
Correct
The ______________ linkage criterion is a popular choice for hierarchical clustering, which merges the two clusters based on the mean
distance between their points.
Select one:
a. Single
b. Average
c. Centroid
d. Complete
Question 14
Correct
What is the role of the learning rate (η) in the Hebb rule?
Select one:
a. It determines the size of the weight update
b. It determines the speed of the weight update
c. It determines the convergence of the weight update
d. It determines the direction of the weight update
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 5/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 15
Correct
What is a perceptron?
Select one:
a. A type of deep learning neural network
b. A type of artificial neuron that can be trained to recognize patterns
c. A type of machine learning algorithm for classification tasks
d. A type of unsupervised learning algorithm
Question 16
Correct
How does the k-means algorithm determine which data points belong to which cluster?
Select one:
a. By comparing the data point to the characteristics of each cluster
b. By computing the distance between data points and the centroid of each cluster
c. By evaluating the variance of each cluster
d. By evaluating the probability that a data point belongs to each cluster
Question 17
Correct
Can the least squares method be used for nonlinear data sets?
Select one:
a. It depends on the method used to transform the data set
b. No
c. It depends on the data set
d. Yes
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 6/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 18
Correct
Select one:
a. They are prone to overfitting
b. They require a small amount of data
c. They are slow to adapt to changes in the data
d. They require a large amount of resources
Question 19
Correct
What is the technical term for an edge in a directed acyclic graph (DAG)?
Select one:
a. Vertex
b. Cycle
c. Graph
d. Edge
Question 20
Correct
What is the process of adjusting the weights of a perceptron based on the input data and the desired output called?
Select one:
a. Pruning
b. Training
c. Testing
d. Validation
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 7/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 21
Correct
The ______________ linkage criterion is a popular choice for hierarchical clustering, which merges the two clusters that have the
maximum distance between them.
Select one:
a. Centroid
b. Average
c. Complete
d. Single
Question 22
Correct
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:
Select one:
a. Very similar to the reference corpus
b. Somewhat different from the reference corpus
c. Very different from the reference corpus
d. Somewhat similar to the reference corpus
Question 23
Correct
What is the process of using a training dataset to adjust the weights of a perceptron called?
Select one:
a. Unsupervised learning
b. Batch learning
c. Online learning
d. Semi-supervised learning
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 8/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 24
Correct
Select one:
a. The mean of the data set
b. The sum of the absolute values of the errors between the data points and the line of best fit
c. The variance of the data set
d. The sum of the squares of the errors between the data points and the line of best fit
Question 25
Correct
Select one:
a. Both classification and regression tasks
b. Classification tasks
c. Unsupervised learning tasks
d. Regression tasks
Question 26
Correct
Select one:
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://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 9/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 27
Correct
Select one:
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 likelihood of a model given the data
d. To maximize the prediction accuracy of the model
Question 28
Correct
Select one:
a. An algorithm that processes the training data in real-time
b. An algorithm that processes all of the training data at once
c. An algorithm that processes the training data one example at a time
d. An algorithm that processes the training data in small groups or batches
Question 29
Correct
Select one:
a. Data mining
b. Data visualization
c. Data analysis
d. Data collection
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 10/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 30
Correct
Select one:
a. The Perceptron Learning Algorithm
b. The Hebbian Rule
c. The Backpropagation Algorithm
d. The Delta Rule
Question 31
Correct
What is an example of a batch learning algorithm used for dimensionality reduction tasks?
Select one:
a. Principal component analysis
b. t-SNE
c. All of the above
d. Multidimensional scaling
Question 32
Correct
Select one:
a. A hidden or unobserved variable that affects the observed variables
b. The features of a model
c. The weights of a model
d. The output of a model
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 11/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 33
Correct
Select one:
a. Predicting the price of a house based on its characteristics
b. Grouping customers into different segments based on their spending habits
c. Determining whether an email is spam or not
d. Predicting the stock price for the next day based on historical data
Question 34
Correct
Select one:
a. XML
b. CSV
c. All of the above
d. Excel
Question 35
Correct
What is the process of using data mining techniques to identify trends and make predictions called?
Select one:
a. Data analysis
b. Data modeling
c. Data visualization
d. Data mining
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 12/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 36
Correct
Select one:
a. Flat
b. Hybrid
c. Deep
d. Hierarchical
Question 37
Correct
Select one:
a. Grouping customers into different segments based on their spending habits
b. Determining whether an email is spam or not
c. Predicting the stock price for the next day based on historical data
d. Predicting the price of a house based on its characteristics
Question 38
Correct
What is the process of adjusting the weights of a perceptron based on the output of the previous layer in a multi-layer perceptron
called?
Select one:
a. Testing
b. Backpropagation
c. Validation
d. Training
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 13/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 39
Correct
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:
Select one:
a. Very similar to the true class probabilities
b. Somewhat similar to the true class probabilities
c. Somewhat different from the true class probabilities
d. Very different from the true class probabilities
Question 40
Correct
What is the main advantage of using a directed acyclic graph (DAG) over other types of graphs?
Select one:
a. All of the above
b. DAGs are easier to understand and visualize
c. DAGs are more efficient for storing and processing data
d. DAGs can represent more complex relationships between data
Question 41
Correct
Select one:
a. It can handle categorical variables
b. It is sensitive to the initial placement of centroids
c. It may produce suboptimal results if the clusters are not spherical
d. It can be computationally expensive for large datasets
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 14/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 42
Correct
Select one:
a. All of the above
b. From the KNIME website
c. From the KNIME interface
d. From the KNIME forum
Question 43
Correct
The KL distance between two discrete probability distributions P and Q is defined as:
Select one:
a. The sum of the differences between the probabilities of each event in P and Q
b. The sum of the logarithm of the ratio of the probabilities of each event in P and Q
c. The sum of the products of the probabilities of each event in P and Q
d. The sum of the ratio of the probabilities of each event in P and Q
Question 44
Correct
How can the sensitivity to the initial placement of centroids be addressed in the k-means algorithm?
Select one:
a. By normalizing the data prior to clustering
b. By using a different clustering algorithm
c. By using the k-means++ initialization method
d. By using a hierarchical clustering approach
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 15/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 45
Correct
Select one:
a. Non-parametric, parametric
b. Unsupervised, supervised
c. Agglomerative, divisive
d. Iterative, recursive
Question 46
Correct
Select one:
a. It is less accurate
b. It is slower to train and predict
c. It is inflexible
d. It is unable to handle large amounts of data
Question 47
Correct
Select one:
a. Support vector machine
b. K-nearest neighbors
c. Linear regression
d. All of the above
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 16/17
6/19/24, 3:10 AM Midterm Lab Exam: Attempt review
Question 48
Correct
Select one:
a. Sampling
b. Normalizing
c. Cleaning
d. Filtering
Question 49
Correct
Select one:
a. Neurons that fire at the same time, wire together
b. Neurons that fire together, wire together
c. Neurons that fire in opposite directions, wire together
d. Neurons that fire in the same direction, wire together
Question 50
Correct
Select one:
a. Neither deterministic nor probabilistic
b. Probabilistic
c. Both deterministic and probabilistic
d. Deterministic
◄ Midterm Exam
Jump to...
https://trimestralexam.amaesonline.com/2333A/mod/quiz/review.php?attempt=21548&cmid=12925&showall=1 17/17