Question: Classification problem ( spambase . data ) 1 . Use the spambase.data dataset in Week 8 ( the last part of tutorial ) . Split

Classification problem (spambase.data)
1. Use the spambase.data dataset in Week 8(the last part of tutorial). Split this dataset randomly into training and test sets (use the train_test_split function, set random_state =5, and use \(20\%\) as test set). Train an LDA model on the training dataset. Report classification error on test set.
2. For the LDA model you trained, plot the ROC curve on the test data and calculate the AUC.
3. For the LDA model you trained, plot the precision-recall curve on the test data.
Classification problem ( spambase . data ) 1 .

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!