A commented version of the code can be found in the jupyter notebook file (SpamDetector.ipynb)
Open a new terminal tab on your ubuntu machine and type:
mkdir SpamDetector
cd SpamDetector
On the same SpamDetector folder
git clone https://github.com/DanyOrtu97/LSTM-Spam-Detector.git
cd LSTM-Spam-Detector
pip3 install -r requirements.txt
python3 SpamDetector.py
On "Test_Hyperparameters_results" you can find:
- our scripts for model testing with hyperparameters (including plots and plotting code)
- our scripts for different neural network models
- our scripts for classic ML algorithms (like KNN, Random forest, SVM, Naive Bayes and Binary classifier)