Machine Learning Evaluation

Description: Machine Learning Evaluation Quiz
Number of Questions: 15
Created by:
Tags: machine learning evaluation metrics
Attempted 0/15 Correct 0 Score 0

Which of the following is not a common metric for evaluating classification models?

  1. Accuracy

  2. Precision

  3. Recall

  4. F1 score


Correct Option: D
Explanation:

F1 score is a metric for evaluating regression models, not classification models.

What is the formula for calculating accuracy?

  1. Accuracy = (True Positives + True Negatives) / (True Positives + False Positives + True Negatives + False Negatives)

  2. Accuracy = (True Positives + True Negatives) / (Total Samples)

  3. Accuracy = (True Positives + False Positives) / (Total Samples)

  4. Accuracy = (True Negatives + False Negatives) / (Total Samples)


Correct Option: B
Explanation:

Accuracy is calculated by dividing the number of correct predictions by the total number of samples.

What is the formula for calculating precision?

  1. Precision = True Positives / (True Positives + False Positives)

  2. Precision = True Positives / (True Positives + False Negatives)

  3. Precision = True Negatives / (True Negatives + False Positives)

  4. Precision = True Negatives / (True Negatives + False Negatives)


Correct Option: A
Explanation:

Precision is calculated by dividing the number of true positives by the total number of predicted positives.

What is the formula for calculating recall?

  1. Recall = True Positives / (True Positives + False Negatives)

  2. Recall = True Positives / (True Positives + False Positives)

  3. Recall = True Negatives / (True Negatives + False Positives)

  4. Recall = True Negatives / (True Negatives + False Negatives)


Correct Option: A
Explanation:

Recall is calculated by dividing the number of true positives by the total number of actual positives.

What is the formula for calculating F1 score?

  1. F1 score = 2 * (Precision * Recall) / (Precision + Recall)

  2. F1 score = (Precision + Recall) / 2

  3. F1 score = Precision * Recall

  4. F1 score = Precision / Recall


Correct Option: A
Explanation:

F1 score is calculated by taking the harmonic mean of precision and recall.

Which of the following is not a common type of machine learning evaluation?

  1. Classification

  2. Regression

  3. Clustering

  4. Dimensionality reduction


Correct Option: D
Explanation:

Dimensionality reduction is a technique for reducing the number of features in a dataset, not a type of machine learning evaluation.

Which of the following is not a common metric for evaluating regression models?

  1. Mean squared error

  2. Root mean squared error

  3. Mean absolute error

  4. F1 score


Correct Option: D
Explanation:

F1 score is a metric for evaluating classification models, not regression models.

What is the formula for calculating mean squared error?

  1. Mean squared error = (1/n) * Σ(y_i - μ_i)^2

  2. Mean squared error = (1/n) * Σ(y_i - μ_i)

  3. Mean squared error = Σ(y_i - μ_i)^2

  4. Mean squared error = Σ(y_i - μ_i)


Correct Option: A
Explanation:

Mean squared error is calculated by taking the average of the squared differences between the predicted values and the actual values.

What is the formula for calculating root mean squared error?

  1. Root mean squared error = √sqrt((1/n) * Σ(y_i - μ_i)^2)

  2. Root mean squared error = √sqrt((1/n) * Σ(y_i - μ_i))

  3. Root mean squared error = √sqrt(Σ(y_i - μ_i)^2)

  4. Root mean squared error = √sqrt(Σ(y_i - μ_i))


Correct Option: A
Explanation:

Root mean squared error is calculated by taking the square root of the mean squared error.

What is the formula for calculating mean absolute error?

  1. Mean absolute error = (1/n) * Σ|y_i - μ_i|

  2. Mean absolute error = (1/n) * Σ(y_i - μ_i)

  3. Mean absolute error = Σ|y_i - μ_i|

  4. Mean absolute error = Σ(y_i - μ_i)


Correct Option: A
Explanation:

Mean absolute error is calculated by taking the average of the absolute differences between the predicted values and the actual values.

Which of the following is not a common type of machine learning evaluation dataset?

  1. Training set

  2. Validation set

  3. Test set

  4. Production set


Correct Option: D
Explanation:

Production set is not a type of machine learning evaluation dataset.

What is the purpose of a training set?

  1. To train the machine learning model

  2. To evaluate the performance of the machine learning model

  3. To select the best hyperparameters for the machine learning model

  4. To deploy the machine learning model


Correct Option: A
Explanation:

The training set is used to train the machine learning model.

What is the purpose of a validation set?

  1. To train the machine learning model

  2. To evaluate the performance of the machine learning model

  3. To select the best hyperparameters for the machine learning model

  4. To deploy the machine learning model


Correct Option: B
Explanation:

The validation set is used to evaluate the performance of the machine learning model.

What is the purpose of a test set?

  1. To train the machine learning model

  2. To evaluate the performance of the machine learning model

  3. To select the best hyperparameters for the machine learning model

  4. To deploy the machine learning model


Correct Option: B
Explanation:

The test set is used to evaluate the performance of the machine learning model.

Which of the following is not a common type of machine learning evaluation metric?

  1. Accuracy

  2. Precision

  3. Recall

  4. Entropy


Correct Option: D
Explanation:

Entropy is a measure of uncertainty, not a type of machine learning evaluation metric.

- Hide questions