Question: Given the Spam data set for classifying an e - mail is either spam ( label 1 ) or not ( label 0 ) .

Given the Spam data set for classifying an e-mail is either spam (label 1) or not (label 0). Compare three ML algorithms: logistic regression, decision tree, and random forest for this binary classification problem. Use the Databrick notebook.
Find the best model for each ML algorithm. Compute precision, recall, and F1 scores based on ALL data points. Identify the best ML algorithm based on the statistics computed
Given the Spam data set for classifying an e -

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!