Spam Email Classifier
- 1 Devlogs
- 1 Total hours
A single-layer perceptron which can classify emails as spam or not spam.
A single-layer perceptron which can classify emails as spam or not spam.
I made a perceptron which can detect spam emails, as we learnt about them in my computer science class, so I decided to try and implement one from scratch. I first made a basic perceptron that can seperate points that lie above or below the line x+y=10 line, and then applied the same algorithm to classify emails as either spam or not spam. It ended up working really well and gets 99.21% accuracy for spam detection.