Answered step by step
Verified Expert Solution
Question
1 Approved Answer
the first 50000 samples of MNIST will be used for training, the next 10000 for validation, and the last 10000 for testing. 1. Logistic
the first 50000 samples of MNIST will be used for training, the next 10000 for validation, and the last 10000 for testing. 1. Logistic regression with L2 penalty term with C= 10%, n=-10:1:10. For each C, generate a model for O-detector, and determine the F score using the validation dataset. According to the F scores, determine the optimal C value. Apply the corresponding model to the testing dataset and report the following metrics testing accuracy F score ROC curve the area under the curve 2. Logistic regression with L1 penalty term with C= 10, n--10:1:10. For each C, generate a model for O-detector, and determine the F score using the validation dataset. According to the F scores, determine the optimal C value. Apply the corresponding model to the testing dataset and report the following metrics testing accuracy F score ROC curve the area under the curve
Step by Step Solution
★★★★★
3.46 Rating (159 Votes )
There are 3 Steps involved in it
Step: 1
1 Logistic Regression with L2 Penalty Ridge and Different C Values a For each C generate a model for Odetector and determine the F score using the validation dataset Logistic regression with L2 penalt...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started