3
$\begingroup$

I am new into Artificial Intelligence field and I am working on the classic example of Spam detection using classification. I am using Naive Bayes algorithm as well as SVM.

While working on them it came to my mind that having the email addresses of who has sent the emails as an extra feature would improve the accuracy of my algoithm as we will have some extra info besides the content of the email itself. Would it be true? And how could I use this extra feature? Should I just add it to my email content?

$\endgroup$

1 Answer 1

2
$\begingroup$

Please accept my apology as it is not really a data science answer.

A lot of spammers are using spoofed emails address as sender, so that field alone might not be very helpful as a dimension. The number of possible values also could make it impractical to be used (i.e., 1 hot-encoding) as a feature unless you preprocess it somehow. Sender domain, sender server reputation scores, etc. would probably be more helpful than the email address by itself.

How spammers spoof your email

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.