Deprecated: Function wp_img_tag_add_loading_attr is deprecated since version 6.3.0! Use wp_img_tag_add_loading_optimization_attrs() instead. in /home/692487.cloudwaysapps.com/qjetrwsbsm/public_html/wp-includes/functions.php on line 5453

Deprecated: Function wp_get_loading_attr_default is deprecated since version 6.3.0! Use wp_get_loading_optimization_attributes() instead. in /home/692487.cloudwaysapps.com/qjetrwsbsm/public_html/wp-includes/functions.php on line 5453

Deprecated: Function wp_img_tag_add_loading_attr is deprecated since version 6.3.0! Use wp_img_tag_add_loading_optimization_attrs() instead. in /home/692487.cloudwaysapps.com/qjetrwsbsm/public_html/wp-includes/functions.php on line 5453

Deprecated: Function wp_get_loading_attr_default is deprecated since version 6.3.0! Use wp_get_loading_optimization_attributes() instead. in /home/692487.cloudwaysapps.com/qjetrwsbsm/public_html/wp-includes/functions.php on line 5453
Module 3 Quiz
Graded Quiz • 30 min Quiz14 Questions Week 3
Re⥃askly Logo

Module 3 Quiz

Graded Quiz • 30 min Quiz14 Questions Week 3
Practice More Quizzes:
Quiz
10 Questions Week 1
Quiz
10 Questions Week 2
Quiz
14 Questions Week 3
Quiz
10 Questions Week 4

Q:

A supervised learning model has been built to predict whether someone is infected with a new strain of a virus. The probability of any one person having the virus is 1%. Using accuracy as a metric, what would be a good choice for a baseline accuracy score that the new model would want to outperform?

Q:

Given the following confusion matrix:     Predicted Positive Predicted Negative Condition Positive 96 4 Condition Negative 8 19 Compute the accuracy to three decimal places.

Q:

Given the following confusion matrix: Predicted Positive Predicted Negative Condition Positive 96 4 Condition Negative 8 19 Compute the precision to three decimal places.

Q:

Given the following confusion matrix: Predicted Positive Predicted Negative Condition Positive 96 4 Condition Negative 8 19 Compute the recall to three decimal places.

Q:

Question 5 Using the fitted model `m` create a precision-recall curve to answer the following question:For the fitted model `m`, approximately what precision can we expect for a recall of 0.8?(Use y_test and X_test to compute the precision-recall curve. If you wish to view a plot, you can use `plt.show()` )print(m)

Q:

Given the following models and accuracy scores, match each model to its corresponding ROC curve. Model 1 test set accuracy: 0.91Model 2 test set accuracy: 0.79Model 3 test set accuracy: 0.72

Q:

Given the following models and AUC scores, match each model to its corresponding ROC curve. Model 1 test set AUC score: 0.91Model 2 test set AUC score: 0.50Model 3 test set AUC score: 0.56

Q:

Question 8 Using the fitted model `m` what is the micro precision score?(Use y_test and X_test to compute the precision score.)print(m)

Q:

Which of the following is true of the R-Squared metric? (Select all that apply)

Q:

In a future society, a machine is used to predict a crime before it occurs. If you were responsible for tuning this machine, what evaluation metric would you want to maximize to ensure no innocent people (people not about to commit a crime) are imprisoned (where crime is the positive label)?

Q:

Consider the machine from the previous question. If you were responsible for tuning this machine, what evaluation metric would you want to maximize to ensure all criminals (people about to commit a crime) are imprisoned (where crime is the positive label)?

Q:

A classifier is trained on an imbalanced multiclass dataset. After looking at the model’s precision scores, you find that the micro averaging is much smaller than the macro averaging score. Which of the following is most likely happening?

Q:

Using the already defined RBF SVC model `m`, run a grid search on the parameters C and gamma, for values [0.01, 0.1, 1, 10]. The grid search should find the model that best optimizes for recall. How much better is the recall of this model than the precision? (Compute recall – precision to 3 decimal places) print(m)(Use y_test and X_test to compute precision and recall.)

Q:

Question 14 Using the already defined RBF SVC model `m`, run a grid search on the parameters C and gamma, for values [0.01, 0.1, 1, 10]. The grid search should find the model that best optimizes for precision. How much better is the precision of this model than the recall? (Compute precision – recall to 3 decimal places)(Use y_test and X_test to compute precision and recall.)print(m)

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Find Questions in This Page: "CTRL+F"