VincentAuriau / Tennis-Prediction

Predicts the winner of a tennis match with machine learning
MIT License
24 stars 7 forks source link

hi #17

Closed Papito8z closed 1 year ago

Papito8z commented 1 year ago

Hello, can you explain to me how to launch your application? And how can I effectively analyze a match?

VincentAuriau commented 1 year ago

Hello, The repository does'nt really aim at analyzing a single match. The goal is to create at match time the most insighful statistics (e.g. players win ratios, player wins ratio against each other, players win ratio on different court type, etc...) berfore the match.

In order to use the repo, you need to clone it

git clone --recurse-submodules https://github.com/VincentAuriau/Tennis-Prediction.git

Installing basic libraries (pandas, numpy, etc...) you can use python to load the data as shown in example:

from data.data_loader import matches_data_loader
data_df = matches_data_loader(path_to_data="submodules/tennis_atp")

I do not have a detailed list of all the statistics, for now it is pretty basic. However you can use the structure to compute yours.