This project aims to predict the tactical decisions made during tennis matches using machine learning techniques. The dataset used for training and testing the model is derived from various tennis matches, containing features related to player performance and match statistics.
tactical-decision-predictor
├── data
│ └── tennis_matches_with_tactics.csv # Dataset containing match statistics and tactical decisions
├── src
│ ├── data_preprocessing.py # Data loading, cleaning, and preparation functions
│ ├── train_model.py # Code to train the machine learning model
│ ├── evaluate_model.py # Functions to evaluate model performance
│ └── utils.py # Utility functions for visualization and model handling
├── models
│ └── model.pkl # Saved trained model
├── notebooks
│ └── exploratory_analysis.ipynb # Jupyter notebook for exploratory data analysis
├── requirements.txt # List of required Python packages
├── .gitignore # Files and directories to ignore in Git
└── README.md # Project documentation
-
Clone the repository:
git clone <repository-url> cd tactical-decision-predictor -
Install the required packages:
pip install -r requirements.txt -
Accuracy: 60%
- Data Preprocessing: Run the
data_preprocessing.pyscript to load and preprocess the dataset. - Model Training: Execute the
train_model.pyscript to train the model using the preprocessed data. - Model Evaluation: Use the
evaluate_model.pyscript to assess the model's performance on the test dataset. - Exploratory Analysis: Open the
exploratory_analysis.ipynbnotebook for insights and visualizations of the dataset.
This project is licensed under the MIT License.