Downloads · 30 days
0
sunga25/Hardest-Path-Winning-Streak-JEPA
Hardest-Path-Winning-Streak-JEPA is a machine learning model from sunga25. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This project aims to analyze the most challenging path to a tennis historical winning-streak using machine learning and deep learning techniques. The model incorporates advanced feature engineering, data preprocessing…
Downloads · 30 days
0
Access
Public
Updated Sep 26, 2024
Repo size
—
Likes
3
Public
Click a slice to open those files.
.lock236 KB · 68%
From the Hugging Face model README
This project aims to analyze the most challenging path to a tennis historical winning-streak using machine learning and deep learning techniques. The model incorporates advanced feature engineering, data preprocessing, and a combination of neural networks and ensemble models to achieve accurate analysis of the level of competition.
To get started with this project, you need to have Python 3.x installed. You can then install the required packages using pip: pip install -r requirements.txt
Place your match data CSV files (named PlayerMatches2.csv to PlayerMatches15.csv) in the project directory.
Run the script to load the data, preprocess it, and train the models:
python main.py
The script will save the best model and configuration for later analysis.
The project uses historical player match data in CSV format. Each file should contain the following columns:
date
tournament
winner_name
winner_rank
winner_eloRating
loser_name
loser_rank
loser_eloRating
Optional columns for enhanced feature engineering can also be included.
The project utilizes a custom neural network with:
Categorical embeddings for player names and other categorical features.
Fully connected layers to process both embedded and numerical input features.
Dropout layers for regularization.
Hyperparameter Tuning
Hyperparameter optimization is performed using Optuna, allowing for fine-tuning of:
Embedding dimensions
Hidden layer sizes
Learning rates
Dropout rates
Batch sizes
The model's performance is evaluated using mean squared error (MSE) on the validation set. Ensemble models are also trained and compared for additional insights.
Contributions are welcome! If you have suggestions for improvements or new features, feel free to submit a pull request or open an issue.
This project is licensed under the MIT License. See the LICENSE file for more information