Skip to content

Bayesian Network applied to the context of italian Fantasy Football for Fundamentals of Artificial Intelligence and Knowledge Representation class at @unibo

License

Notifications You must be signed in to change notification settings

gmurro/fanta-bayesian-net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧙 FantaBayesianNet ⚽

This repository contains a project realized as part of the Fundamentals of Artificial Intelligence exam of the Master's degree in Artificial Intelligence, University of Bologna, specifically in the module about uncertainty and probabilistic reasoning, held by professor Paolo Torroni.

In this work, we used a Bayesian Network to model relevant factors of player performance in the presence of noisy data. We apply our analysis to the 2020–2021 season in the top Italian league, Serie A, and use the player ratings provided by a popular Italian fantasy football game, the so-called Fantacalcio.

The goal is to explore the causal relations that allow to predict if a football player can be deployed or not in a fantasy football lineup. Different kind of reasoning are done to exploit the flow of influence between variables and possible independences.

Dataset

Since statistics of single football players of Serie A in each mach are not directly accessible and they are distributed on different web sites, we have developed a web scraping script able to collect data from Fantacalcio.it and Transfermarket.it.

We decided to select only forwards, since their statistics are the most interesting from the view point of the Fantacalcio, and we picked an average of 2 players per team for a total of 40 players.

These data inside this folder are about the first 30 rounds of the 2020–2021 Serie A season.

Results

The results provided in the notebook are reasonable admissible but since we tried to make inference about a complete stochastic domain, it found out to be really difficult to obtain good results because it was not always possible to take into account the enormous amount of variables that effectively affect the domain of our analysis and construct a model on it. A possible different analysis based on our model could be to extend the dataset of players, considering not only forwards but also midfielders and defenders in order to prove whether the model could be a good base to develop a real software that helps fantasy managers to solve their doubts in line up their fantasy football formation.

Resources & Libraries

Versioning

We use Git for versioning.

Group members

Reg No. Name Surname Email Username
997317 Giuseppe Murro giuseppe.murro@studio.unibo.it gmurro
985203 Salvatore Pisciotta salvatore.pisciotta2@studio.unibo.it SalvoPisciotta
1005271 Giuseppe Boezio giuseppe.boezio@studio.unibo.it giuseppeboezio

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Bayesian Network applied to the context of italian Fantasy Football for Fundamentals of Artificial Intelligence and Knowledge Representation class at @unibo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 95.8%
  • Python 2.2%
  • TeX 2.0%