Machine Learning, Fantasy Football, Artificial Intelligence, Data Science, Python.
Let’s start with the coding part. First of all, let’s create our dataset of interest: And plot the distribution of the roles of the player: Now, let’s define the role constraints. We have stored them into a dictionary. We will now define our model in a parametric way. It means that we will get