This project analyzes sentiment data and does predictions on race results, driver team changes and steward disicions for for the r/formula1 subreddit using machine learning and natural language processing (NLP). The workflow includes ABSA sentiment analysis, Bert, vader, gliner and N-gram models.
Place raw data files (.ndjson) in the data/raw directory.
Make sure you have Python 3.12.8 installed and install required libraries using:
py -3.12 -m venv .venv && source .venv/Scripts/activate
(create and activate virtual environment)pip install -r requirements.txt
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch (git switch -c feature-branch).
- Commit your changes (git commit -m 'Add new feature').
- Push to the branch (git push origin feature-branch).
- Open a Pull Request.
This project is licensed under the MIT License. See LICENSE for details.