/Adaboost

Implementation of the Adaboost algorithm to classify spam emails

Primary LanguagePython

Adaboost

This project includes an implementation of the Adaboost algorithm to classify spam emails. The alogrithm can be run from the commandline as follows:

python adaboost.py --train spambase.train --test spambase.test --numTrees 1

This method obtained a 95.6% classification accuracy using 171 weak learners and a learning rate of 0.65.