2023 Given the Spam data set for classifying an e mail is either spam label 1 or not label 0 | Assignment Collections
Computer Science 2023 Classifying Spams Using Spark MLlib
2023 Given the Spam data set for classifying an e mail is either spam label 1 or not label 0 | Assignment Collections
Given the Spam data set for classifying an e-mail is either spam (label 1) or not (label 0). The dataset can be downloaded from https://archive.ics.uci.edu/ml/datasets/SpambaseLinks to an external site.. Compare three ML algorithms: logistic regression, decision tree, and random forest for this binary classification problem. Collect screenshots of critical parts for each question. Type all answers. Submit a pdf report. Use Databrick notebook. The final notebook should be fully documented and uploaded to Canvas as well as the pdf report.
1. (30 points) Find the best model for each ML algorithms. Compute precision, recall, and F1 scores based on ALL data points. Identify the best ML algorithm based on the statistics computed.
2. (30 points) Use 5 fold (70/30) cross-validation method to find the best model for each ML algorithm using the default ROC criterion. Compare these three ML algorithms and pick the best overall model. Discuss how you reach this conclusion.
3. (20 points) Based on your best model in Q2, identify the most significant features. Discuss how you can take advantage of this finding.
4. (10 points) Discuss why the best ML algorithm is better than the other two from a theoretical point of view.
5. (10 points) Does the best model provide a satisfactory classification outcome? Explain. Is there another ML model that may be used to better this result? Discuss and provide the sources of your analysis.
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.