Giter Club home page Giter Club logo

atpbetting's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atpbetting's Issues

Update xlsx files

Since it's been 2 years already! Could you share the source for the xlsx data for 2019 and 2020?

Is this still working

I'm new to python and everything, I tried to open the code but it automatically closes.
What can I be doing wrong?

How would you provide an input of players and receive a prediction

Hi I'm super new to coding and python and machine learning. I'm really impressed with this and was wonder how you would adapt this so that when you entered in 2 players and the parameters of the match and get a prediction? Are their any other resources or points anyone can give me?

How can i run that ?

I'm not a python guy and if you can make a howtorun.md that will be perfect for me and the non python guys. Nice work !!!

FileNotFoundError: [Errno 2] No such file or directory: '../Generated Data/atp_data.csv'?????

Traceback (most recent call last):
File "D:\Coding\002\ATPBetting\ATPBetting-master\Python\main.py", line 53, in
data.to_csv("../Generated Data/atp_data.csv",index=False)
File "C:\Users\Krist\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pandas\core\generic.py", line 3387, in to_csv
return DataFrameRenderer(formatter).to_csv(
File "C:\Users\Krist\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pandas\io\formats\format.py", line 1083, in to_csv
csv_formatter.save()
File "C:\Users\Krist\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pandas\io\formats\csvs.py", line 228, in save
with get_handle(
File "C:\Users\Krist\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pandas\io\common.py", line 642, in get_handle
handle = open(
FileNotFoundError: [Errno 2] No such file or directory: '../Generated Data/atp_data.csv'
PS D:\Coding\002\ATPBetting\ATPBetting-master\Python>

Error during generating https://github.com/edouardthom/ATPBetting

Got this error

$ python main.py Elo rankings computing... 5000 matches computed... 10000 matches computed... 15000 matches computed... 20000 matches computed... 25000 matches computed... 30000 matches computed... 35000 matches computed... 40000 matches computed... Traceback (most recent call last): File "main.py", line 54, in data.to_csv("../Generated Data/atp_data.csv",index=False) File "C:\Python27\lib\site-packages\pandas\core\frame.py", line 1745, in to_csv formatter.save() File "C:\Python27\lib\site-packages\pandas\io\formats\csvs.py", line 171, in save self._save() File "C:\Python27\lib\site-packages\pandas\io\formats\csvs.py", line 286, in _save self._save_chunk(start_i, end_i) File "C:\Python27\lib\site-packages\pandas\io\formats\csvs.py", line 313, in _save_chunk self.cols, self.writer) File "pandas_libs\writers.pyx", line 81, in pandas._libs.writers.write_csv_rows UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 17: ordinal not in range(128)

IndexError: index 0 is out of bounds for axis 0 with size 0

It runs ok until this error comes up:

main.py:99: FutureWarning: In a future version of pandas all arguments of concat except for the argument 'objs' will be keyword-only features_onehot = pd.concat([features_categorical_encoded,players_encoded,tournaments_encoded],1) main.py:126: FutureWarning: In a future version of pandas all arguments of concat except for the argument 'objs' will be keyword-only features = pd.concat([features_odds, Traceback (most recent call last): File "main.py", line 152, in <module> test_beginning_match=data[data.Date==start_date].index[0] #id of the first match of the testing set File "/Users/peter/Library/Python/3.8/lib/python/site-packages/pandas/core/indexes/base.py", line 4604, in __getitem__ return getitem(key) IndexError: index 0 is out of bounds for axis 0 with size 0

Can someone assist with this so I can run the code properly?

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.