Skip to main content

Meta-package installing the full Burning Cost insurance pricing toolkit

Project description

burning-cost

PyPI Python License: MIT

One install. The full Burning Cost toolkit.

pip install burning-cost

That single command installs all 10 flagship libraries for insurance pricing with modern ML.


The problem this solves

The Burning Cost ecosystem has 10 libraries. They are designed to work together — causal inference to estimate treatment effects, conformal to put intervals on predictions, monitoring to track whether those predictions are still valid in production. But you should not have to remember which libraries to include in a requirements file when setting up a new pricing project or Colab notebook.

burning-cost is a meta-package: it has no code of its own. It is a single dependency that pulls in everything.


What you get

Library What it does
insurance-causal Double Machine Learning for causal treatment effects on observational data
insurance-fairness Fairness auditing under UK Equality Act 2010
insurance-monitoring PSI/CSI drift, A/E monitoring, Gini tests, anytime-valid A/B testing
insurance-conformal Distribution-free prediction intervals with coverage guarantees
insurance-whittaker Whittaker-Henderson graduation for triangles and rating factors
insurance-telematics Trip-level feature engineering and behavioural risk scoring
insurance-credibility Buhlmann-Straub and hierarchical Bayesian credibility models
insurance-frequency-severity Two-part freq/sev modelling with proper exposure handling
insurance-gam Generalised Additive Models for interpretable rating factor curves
insurance-governance FCA/PRA-aligned model risk management documentation

Usage

You do not import from burning_cost directly. Each library has its own namespace:

from insurance_causal import CausalPricingModel
from insurance_conformal import InsuranceConformalPredictor
from insurance_monitoring import MonitoringReport
from insurance_fairness import FairnessAudit

The meta-package just ensures they are all installed.


For new pricing projects

Add to your pyproject.toml:

[project]
dependencies = [
    "burning-cost",
]

Or for a requirements file:

burning-cost
catboost
polars

Resources


License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

burning_cost-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

burning_cost-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file burning_cost-0.1.0.tar.gz.

File metadata

  • Download URL: burning_cost-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for burning_cost-0.1.0.tar.gz
Algorithm Hash digest
SHA256 60e1ebb5a8755cf070d424b494e19582388800b556a2f1a38d66b970faca647a
MD5 16ef32acce895bea6f542890253702f1
BLAKE2b-256 1752627556d2019ae8dcb872743f6a675bdbf5a4bee18ea5dfc759e7c28a9e43

See more details on using hashes here.

File details

Details for the file burning_cost-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: burning_cost-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for burning_cost-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a24c0fef3fb1008d0fa3254b7a5358a36a05423f261d914cb1ceb9aa5fbaca64
MD5 32f8f1450bb737160300ddb32a4c7d43
BLAKE2b-256 06c2837237e57da703f5ce9268ea0b4988128641a05ad9a4f261a76b7e06e760

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page