upeppe / fantabeto Goto Github PK
View Code? Open in Web Editor NEWMachine learning model for predicting Serie A players performance in a match, in terms of Fantacalcio (italian fantasy football) scores.
License: MIT License
Machine learning model for predicting Serie A players performance in a match, in terms of Fantacalcio (italian fantasy football) scores.
License: MIT License
Hi @uPeppe ,
I've read your article on Medium and I have a few questions:
Thanks!
Hi @uPeppe,
In the accompanying blog post you stated how the performance estimation model was good on movement players, but subpar on goalkeepers (GKs). Have you further experimented on the root causes of this phenomenon?
Here is the translated text:
"The requirements.txt file is missing, so it is necessary to inspect each file to understand which libraries are required."
I've read carefully the code and your article on Medium: it's really a great work, no doubts.
When reading about the implementation of the model I haven't understood two concepts:
How to select the team at the start of the season: I've read your reply to a comment on medium and you stated that you've made the initial team by applying the prediction using as opposing team one made through averaging all the stats of Serie A teams. I didn't find this reference in the github code.
In the Medium article you say that by using the algorithm to predict selecting a statistically average Serie A team as an opponent, it was useful in preparing for the January market auction: where is this implemented in the code?
I'm trying to understand all the parts of the model better, I hope I haven't inconvenienced you.
Thanks for your time.
Hi @uPeppe ,
Hi UPeppe,
I have been reviewing your project, and I find it highly interesting. To assist users who may not be very familiar with TensorFlow, I think it would be beneficial to add a section to the README that outlines the installation and setup process of the project.
Would you be willing to include such a section?
Thank you!
Hi, when I run the 3rd cell of "1_scraping_fbref.ipynb" I receive this error, can you help me?
IndexError Traceback (most recent call last)
Cell In[3], line 1
----> 1 df_outfield = get_outfield_data('https://fbref.com/en/comps/11/','/Serie-A-Stats')
3 df_outfield.to_csv('fbref_data/outfield_players.csv', index=False)
5 df_outfield
Cell In[2], line 152
151 def get_outfield_data(top, end):
--> 152 df1 = frame_for_category('stats',top,end,stats)
153 df2 = frame_for_category('shooting',top,end,shooting2)
154 df3 = frame_for_category('passing',top,end,passing2)
Cell In[2], line 136
134 def frame_for_category(category,top,end,features):
135 url = (top + category + end)
--> 136 player_table, team_table = get_tables(url,'for')
137 df_player = get_frame(features, player_table)
138 return df_player
Cell In[2], line 45
42 soup = BeautifulSoup(comm.sub("",res.text),'lxml')
43 all_tables = soup.findAll("tbody")
---> 45 team_table = all_tables[0]
46 team_vs_table = all_tables[1]
47 player_table = all_tables[2]
IndexError: list index out of range
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.