Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 657 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 657 Bytes

jam-spam-ml

A Machine Learning powered GitHub App built with Probot to jam the spam PRs on your repo and keep maintainers stress-free (even in Hacktober 🎃)

Setup

# Setting up virtual environment for local development
virtualenv venv

# Activate environment
source venv/Scripts/activate

# Install Dependencies
pip install -r requirements.txt

# Add GitHub Personal Access token to .env file (create a copy from .env.example file and replace YOUR_GITHUB_ACCESS_TOKEN) - allows for higher rate limits on GitHub API 

# Start training
python train.py

# Find the spam keywords
python spam_keywords.py