Metadata-Version: 2.4
Name: lossratio
Version: 0.0.1.dev0
Summary: Loss ratio analysis for insurance experience data (Python implementation by the author of the R package; in development).
Project-URL: Homepage, https://seokhoonj.github.io/lossratio/
Project-URL: Source, https://github.com/seokhoonj/lossratio-py
Project-URL: R package, https://github.com/seokhoonj/lossratio
Project-URL: Issues, https://github.com/seokhoonj/lossratio-py/issues
Author-email: Seokhoon Joo <seokhoonj@gmail.com>
License-Expression: MPL-2.0
License-File: LICENSE
Keywords: actuarial,chain ladder,health insurance,insurance,loss ratio,reserving
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.9
Provides-Extra: dev
Requires-Dist: build>=1.0; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Requires-Dist: ruff>=0.4; extra == 'dev'
Requires-Dist: twine>=5.0; extra == 'dev'
Description-Content-Type: text/markdown

# lossratio (Python)

Python implementation of `lossratio` by the same author who wrote
the R package. Both packages share the same methodology — chain
ladder (Mack), exposure-driven (ED), and stage-adaptive (SA)
loss-ratio projection methods, maturity point and convergence point
detection ($k^*$, $k^{**}$), cohort regime change detection, and a
hold-out backtest framework — applied to long-duration insurance
experience data.

This Python implementation is in development. The package is
reserved on PyPI under PEP 541 legitimate future-use provisions.

## Current status

- `pip install lossratio` installs this placeholder
  (version `0.0.1.dev0`).
- The package currently only exposes a `__version__` attribute.
- The working implementation is the R package; the Python version
  is being built up incrementally.

## R package (working today)

- Source: <https://github.com/seokhoonj/lossratio>
- Documentation: <https://seokhoonj.github.io/lossratio/>
- 한국어 문서: <https://seokhoonj.github.io/lossratio/ko/>

```r
remotes::install_github("seokhoonj/lossratio")
library(lossratio)
```

## Author

Seokhoon Joo (<seokhoonj@gmail.com>) — author of both the R and
Python implementations.

## License

MPL-2.0 (Mozilla Public License 2.0).
