Question: Question 1 What does the Receiver Operating Characteristic ( ROC ) curve plot in binary classification? a . Precision and recall values b . True
Question
What does the Receiver Operating Characteristic ROC curve plot in binary classification?
a Precision and recall values
b True positive rate against false positive rate
c True positive rate against true negative rate
d Sensitivity against specificity Explain your answer
Question
What is the primary purpose of the gradient descent algorithm in machine learning?
a Maximize the cost function iteratively
b Minimize the cost function iteratively
c Find the large parameters for optimal solutions
d Maximize the number of iterations Explain your answer
Question
Which describes the key difference between Lasso and Ridge regressions concerning feature coefficients?
a Ridge uses the L norm of the weight vector, Lasso uses half the square of the L norm
b Lasso adds a regularization term equal to the sum of the coefficients, while Ridge uses the L norm
c Lasso encourages feature selection by setting unimportant feature weights to zero; Ridge aims to keep all weights small
d Ridge outputs a sparse model with only a few nonzero weights; Lasso prioritizes increasing model complexity Explain your answer
Question
You are tasked with developing a binary classification ML model that classifies network traffic as either malicious or normal. You compute the confusion matrix below from your model. Using the values in the confusion matrix, calculate all five performance metrics listed below.
Prediction
Malicious normal
Malicious
Actual Normal
a Accuracy
b Precision
c Recall
d Specificity
e F Score
Explain your answer by writing the correct equations and calculations for each metric. Provide your answers rounded to decimal places XXX
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
