Skip to content

slipsoft/slipspam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlipSpam

Ultimate spam detector

Presentation

Slipspam consists of a command line program that can do 3 things:

bench command

bin/slipspam bench [options]

This command runs a full benchmark of every implemented algorithms over a dataset.

Here are the results of the latest benchark over the spambase dataset:

spambase algorithms benchmark chart spambase interleaved confusion matrix

here over a spam dataset found on kaggle:

algorithms benchmark chart interleaved confusion matrix

and here with spambase as the trainset and kaggle's as the testset:

algorithms benchmark chart interleaved confusion matrix

predict command

bin/slipspam predict [options] (<email-text> | --in-text=<file> | --in-feat=<file>)

This command enables you to predict if a mail is spam or not. It can also run the algorithm on a full dataset via the --in-feat option.

predict command

parse command

bin/slipspam parse <in-file> <out-file>

This command convert a dataset of text mails into a dataset of features corresponding to the ones our algorithm is trained on.

parse command

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • python3
  • pip3
  • Tkinter

Debian

sudo apt install python3 python3-pip python3-tk

Installing

This will install and activate a virtual python environment in the dev directory.

Windows

.\activate

Unix

. activate

Running

Benchmarks

bin/slipspam bench [-e <nb executions>]

exemple:

bin/slipspam bench -e 5

Deactivating

To deactivate the virtual environment, simply type deactivate

Deployment

not deployable yet...

Documentation

CLI

You can get the CLI documentation by running the following command:

bin/slipspam --help

Built With

Authors

See also the list of contributors who participated in this project.