Skip to content

Commit 5435a48

Browse files
committed
Updated documentation
1 parent 2e9ceb1 commit 5435a48

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a single version of Python
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
33

4-
name: Spam Detection Testing
4+
name: tests
55

66
on:
77
push:

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Spam-Detector-AI
22

33
![Tests](https://github.com/adamspd/spam-detection-project/actions/workflows/tests.yml/badge.svg)
4-
[![PyPI version](https://badge.fury.io/py/spam-detector-ai.svg)](https://badge.fury.io/py/spam-detector-ai)
4+
[![Current Release Version](https://img.shields.io/github/release/adamspd/spam-detection-project.svg?style=flat-square&logo=github)](https://github.com/adamspd/spam-detection-project/releases)
5+
[![pypi Version](https://img.shields.io/pypi/v/spam-detector-ai.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/spam-detector-ai/)
56
[![PyPi downloads](https://static.pepy.tech/personalized-badge/spam-detector-ai?period=total&units=international_system&left_color=grey&right_color=orange&left_text=pip%20downloads)](https://pypi.org/project/spacy/)
67
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
78
[![GitHub last commit](https://img.shields.io/github/last-commit/adamspd/spam-detection-project)](https://github.com/adamspd/spam-detection-project/commit/main)
@@ -300,7 +301,7 @@ print(f"Is spam: {is_spam}")
300301

301302
## Project Structure
302303

303-
- `classifiers/`: Contains the different classifiers (Naive Bayes, Random Forest, SVM).
304+
- `classifiers/`: Contains the different classifiers (Naive Bayes, Random Forest, SVM, XGB & Logistic Regression).
304305
- `data/`: Contains the sample dataset for training the classifiers.
305306
- `loading_and_processing/`: Contains utility functions for loading and preprocessing data.
306307
- `models/`: Contains the trained models and their vectorizers.
@@ -319,7 +320,7 @@ This project is licensed under the [MIT License](LICENSE).
319320

320321
## Notes
321322

322-
The project contains 3 pre-trained models that can be used directly if you want to skip the training step.
323+
The project contains 5 pre-trained models that can be used directly if you want to skip the training step.
323324
If you don't want to use the package, you can use the API that I have deployed
324325
[here](https://spam-detection-api.adamspierredavid.com/).
325326

spam_detector_ai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
__description__ = "A package for detecting and filtering spam messages using Machine Learning models."
55
__package_name__ = "spam-detector-ai"
66
__url__ = "https://github.com/adamspd/spam-detection-project"
7-
__version__ = "2.1.0"
7+
__version__ = "2.1.1"
88
__test_version__ = False

0 commit comments

Comments
 (0)