The AFL Player Performance Analyzer is an open-source initiative to leverage cutting-edge machine learning and AI techniques for analyzing Australian Football League (AFL) player performance. By evaluating data from the last two seasons, this project aims to provide insights on:
- Goals and disposals
- Player matchups
- Injury prediction
- Game and team impact metrics
All insights will be presented in an interactive interface, offering fans, analysts, and bettors a unique way to explore player and game performance.
- Revolutionize AFL Analytics: Use advanced AI methods to derive novel insights.
- Open-Source Collaboration: Build in public, encouraging contributions from the community.
- Interactive Insights: Present data through an intuitive dashboard for seamless exploration.
- Disruption: Shift the industry’s approach to AFL analysis by introducing modern, scalable techniques.
- Core Metrics:
- Player performance trends (goals, disposals, efficiency).
- Head-to-head player matchups with contextual analysis.
- Advanced Predictions:
- Injury likelihood based on historical and contextual data.
- Impact metrics for players and teams during games.
- Interactive Dashboard:
- Filter data by player, team, season, or match.
- Visualize performance trends, matchup outcomes, and more.
AFL-Player-Performance-Analyzer/
├── data/ # Raw and processed datasets
├── notebooks/ # Jupyter notebooks for exploration and prototyping
├── src/ # Source code for ML models and analysis
│ ├── models/ # Machine learning models
│ ├── visualization/ # Code for generating visualizations
├── interface/ # Interactive dashboard or web app
├── tests/ # Unit and integration tests
├── .gitignore
├── requirements.txt # Python dependencies
├── README.md # Project documentation
├── LICENSE
- Python 3.8 or higher
- A GitHub account for contributing
-
Clone the repository:
git clone https://github.com/your-username/AFL-Player-Performance-Analyzer.git cd AFL-Player-Performance-Analyzer
-
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Launch Jupyter notebooks or run the dashboard:
jupyter lab # OR streamlit run interface/app.py
We welcome contributions of all kinds! Here's how you can help:
- Fork the repository and create a new branch for your changes.
- Submit a pull request with a description of your contribution.
- Join the discussion on GitHub issues and share your ideas.
Check out our CONTRIBUTING.md file for more details.
- Raw Data:
data/raw/afl_player_stats_2023_2024.csv
- Source: Generated using
fitzRoy
R package. - Seasons: 2023–2024.
- Source: Generated using
This project is licensed under the MIT License.
A huge thank you to the AFL community and contributors who help make this project possible. Your input and support fuel our vision to transform AFL analytics.
Stay updated on our progress:
- GitHub Discussions: Join Here