Skip to content

Commit 943cf01

Browse files
author
Your Name
committed
feat: added immplied colab notebook
1 parent 4d01f4d commit 943cf01

File tree

6 files changed

+21
-475
lines changed

6 files changed

+21
-475
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [ubuntu-latest, macos-latest, windows-latest]
13-
python-version: ["3.10", "3.11", "3.12", "3.13"]
13+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1414
steps:
1515
- name: Checkout repository
1616
uses: actions/checkout@v3

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ Run these examples directly in your browser (no installation required):
6262
| **Use Pi Ratings** | Like Elo ratings, but better | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/12qEDCNYG-FFHOJ_kURe0cm80sScandyh?usp=sharing) |
6363
| **Create Interactive Charts** | Create your own interactive football vizualisations | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1xFfIdvmbFcjHlS_2eHEu3NxD-xLNrbpY?usp=sharing) |
6464
| **Work Directly With Statsbomb Data** | Connect directly to Statsbomb's API, including their free open data sets | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1xFfIdvmbFcjHlS_2eHEu3NxD-xLNrbpY?usp=sharing) |
65+
| **Calculate Implied Probabilities** | Calculate implied probabilities from bookmaker's odds | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1o-tOetyWmSY_1WczN8WhWsl62Uz5T65F?usp=sharing) |
66+
6567

6668
## Documentation
6769

docs/changelog/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ Version Numbering
77
``penaltyblog`` follows the SemVer versioning guidelines. For more information,
88
see `semver.org <http://semver.org/>`_
99

10+
v1.6.1 (2025-10-x)
11+
^^^^^^^^^^^^^^^^^^^^
12+
13+
Package Updates
14+
---------------
15+
16+
- Updated goals models loss functions to work with ``scipy 1.16+``
17+
- Improved numerical stability of loss function for Negative Binomial model to improve convergence
18+
- Added colab notebook for implied probabilities examples
19+
- Python 3.14 support
20+
1021
v1.6.0 (2025-09-23)
1122
^^^^^^^^^^^^^^^^^^^^
1223

docs/implied/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Implied Odds
22
==============
33

4+
.. raw:: html
5+
6+
<a href="https://colab.research.google.com/drive/1o-tOetyWmSY_1WczN8WhWsl62Uz5T65F?usp=sharing" target="_blank">
7+
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab">
8+
</a>
9+
<br><br>
10+
411
Calculating implied odds from bookmaker odds is essential because bookmakers include a profit margin (overround) in their published odds, which distorts the true probabilities of match outcomes.
512

613
By removing this margin, bettors and analysts obtain more accurate estimates of the actual probabilities assigned by bookmakers.

test/test_model_bayesian_dixon_coles.py

Lines changed: 0 additions & 208 deletions
This file was deleted.

0 commit comments

Comments
 (0)