Question: Classification problem ( spambase . data ) 1 . Use the spambase.data dataset in Week 8 ( the last part of tutorial ) . Split
Classification problem spambasedata
Use the spambase.data dataset in Week the last part of tutorial Split this dataset randomly into training and test sets use the traintestsplit function, set randomstate and use as test set Train an LDA model on the training dataset. Report classification error on test set.
For the LDA model you trained, plot the ROC curve on the test data and calculate the AUC.
For the LDA model you trained, plot the precisionrecall curve on the test data.
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
