Giter VIP home page Giter VIP logo

tennis_algorithms's Introduction

Contributors Forks Stargazers Issues LinkedIn

15 Years of Women's Tennis Data: Algorithmic Analysis in Mostly Base Python

About The Project

In honor of Emma Raducanu's historical achievements in 2021, I look at the results of womens' tennis matches over the period 2007-2021. Your objectives are to parse the data, reconstruct tournament brackets, identify the top players, and implement algorithms to provide an alternative rankings for the players. This was project was completed as part of my MSc Applied Social Data Science degree at LSE.

Only fundamental Python data types are used (lists, tuples, dictionaries, numpy.ndarray, etc.) to complete this analysis. Advanced data querying packages and data analysis packages were avoided, in order to further my understanding of fundamental programming concepts.

The repository contains fifteen .csv files with match results, one file for each year. Each file contains the following variables:

Tournament – the name of the tournament that the match was part of. Start date – the date when the tournament starts. End date – the date when the tournament ends. Best of – 3 means that first player to win 2 sets wins match (all WTA matches are best of 3 sets). Player 1, Player 2 – names of the players in the match. Rank 1, Rank 2 – WTA ranks of Player 1 and Player 2 before the start of the tournament. Not all players will have a ranking. Set 1-3 – result for each set played where the score is shown as: number of games won by Player 1 - number of games won by Player 2. The player that wins the most games in a set wins that set. Comment Completed means match was played. Player retired means that the named player withdrew and the other player won by default.

3 algorithms are used to create rankings (Winners Don't Lose, Winners Win and Winners Beat Winners)- the details for which can be found in the Jupyter Notebook.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

LinkedIn- Louis Magowan

Project Link: https://github.com/louismagowan/tennis_algorithms

(back to top)

Acknowledgments

(back to top)

tennis_algorithms's People

Contributors

louismagowan avatar

Stargazers

Nikita Karetnikov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.