Please log in or register. Registered visitors get fewer ads.
Forum index | Previous Thread | Next thread
Something for a Friday - Predicting the final league table and other stats 08:57 - Mar 13 with 491 viewsStokieBlue

Given all the league predictions flying around I decided to vibe code a website to do this using Claude.

Functionality:

- Works for PL and Champ.
- League information and graphed comparative league positions by gameweek.
- Team information - metrics, results, next match etc.
- Predictions - predict all this weeks results or the entire season using 2 models (Monte Carlo and Poisson) and configurable options. I prefer the MC model.
- Fixtures - all fixtures for all teams.
- Methodology page for those who are interested.

Should work fine on desktops or mobiles, mobiles has a different UI setup:

https://footvibe-production.up

Obviously it's modelling and thus I wouldn't make any financial decisions based on it!

SB
0
Something for a Friday - Predicting the final league table and other stats on 09:05 - Mar 13 with 436 viewsbsw72

Odd - ran it with a league season, matches to consider 37 and Monte Carlo.

Pumped out the following:

# Team P W D L GF GA GD Pts
1 Coventry 46 28 10 8 96 50 +47 94
2 Ipswich 46 24 13 9 82 48 +34 84
3 Middlesbrough 46 24 11 11 71 46 +25 83

Interesting that it fails on the basic maths rather than the analytics

EDIT:

Looked further, same issue - looks like it is rounding points based on the calculations, rather than building the points based on matches calculations ie (Wx3) + (Dx1):

4 Millwall 46 23 10 13 62 54 +9 80
5 Hull 46 23 8 15 73 66 +7 76
[Post edited 13 Mar 9:08]
0
Something for a Friday - Predicting the final league table and other stats on 09:07 - Mar 13 with 418 viewsitfcjoe

Best to run it on a nice random number.....like last 32 games!

Poll: Club vs country? What would you choose
Blog: What is Going on With the Academy at Ipswich Town?

0
Something for a Friday - Predicting the final league table and other stats on 09:33 - Mar 13 with 360 viewsStokieBlue

Something for a Friday - Predicting the final league table and other stats on 09:05 - Mar 13 by bsw72

Odd - ran it with a league season, matches to consider 37 and Monte Carlo.

Pumped out the following:

# Team P W D L GF GA GD Pts
1 Coventry 46 28 10 8 96 50 +47 94
2 Ipswich 46 24 13 9 82 48 +34 84
3 Middlesbrough 46 24 11 11 71 46 +25 83

Interesting that it fails on the basic maths rather than the analytics

EDIT:

Looked further, same issue - looks like it is rounding points based on the calculations, rather than building the points based on matches calculations ie (Wx3) + (Dx1):

4 Millwall 46 23 10 13 62 54 +9 80
5 Hull 46 23 8 15 73 66 +7 76
[Post edited 13 Mar 9:08]


You're right, it should work out the results with the averaging of the MC simulations and then calculate the league points rather than averaging, I'll fix it tonight.

I explained the methodology to Claude and how to average, obviously wasn't thinking straight at the time!

At least it puts us a further point ahead of Boro:).

Poisson shouldn't show that.

SB
[Post edited 13 Mar 9:46]
1
Something for a Friday - Predicting the final league table and other stats on 20:55 - Mar 13 with 160 viewsStokieBlue

Something for a Friday - Predicting the final league table and other stats on 09:33 - Mar 13 by StokieBlue

You're right, it should work out the results with the averaging of the MC simulations and then calculate the league points rather than averaging, I'll fix it tonight.

I explained the methodology to Claude and how to average, obviously wasn't thinking straight at the time!

At least it puts us a further point ahead of Boro:).

Poisson shouldn't show that.

SB
[Post edited 13 Mar 9:46]


That's fixed now for anyone who wants to try it.

SB
0
About Us Contact Us Terms & Conditions Privacy Cookies Online Safety Advertising
© TWTD 1995-2026