Skip to content

Detecting spam emails with deep neural networks versus "traditional" models.

Notifications You must be signed in to change notification settings

kssrr/sl-spam-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spam Detection

Building a neural network to classify emails as spam, as well as "traditional" competitor models. Models are built in R/models.qmd. The rendered notebook is also attached as HTML.

Neural Network

Sequential model (multilayer perceptron) built with keras/tensorflow. Key facts: Adam optimizer, weight decay (L2-regularization), learning rate scheduling, early stopping. This is the architecture:

Description

Benchmark against traditional models

Test metrics & performance

Model Precision Accuracy F1
Neural Network 0.932 0.939 0.922
Random Forest 0.935 0.942 0.926

About

Detecting spam emails with deep neural networks versus "traditional" models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages