Metadata-Version: 2.5
Name: tenqsp-fit
Version: 0.3.1
Summary: Fitting TenQSP models to data, with diagnosis of what the data determine
Project-URL: Repository, https://github.com/tenqsp/tenqsp-fit
Project-URL: Documentation, https://tenqsp.github.io/tenqsp-fit/
Author: Dongwoo Chae
License-Expression: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Requires-Python: >=3.12
Requires-Dist: arviz>=1.0
Requires-Dist: blackjax>=1.2
Requires-Dist: jax>=0.4.30
Requires-Dist: numpy>=1.26
Requires-Dist: numpyro>=0.15
Requires-Dist: pandas>=2.0
Requires-Dist: scipy>=1.16
Requires-Dist: tenqsp[native]>=0.9.2
Provides-Extra: dev
Requires-Dist: matplotlib>=3.8; extra == 'dev'
Requires-Dist: pytest-timeout>=2.3; extra == 'dev'
Requires-Dist: pytest>=8; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Provides-Extra: docs
Requires-Dist: ipykernel>=6.29; extra == 'docs'
Requires-Dist: jupytext>=1.16; extra == 'docs'
Requires-Dist: matplotlib>=3.8; extra == 'docs'
Requires-Dist: mkdocs-jupyter>=0.25; extra == 'docs'
Requires-Dist: mkdocs-material>=9.5; extra == 'docs'
Requires-Dist: mkdocs>=1.6; extra == 'docs'
Requires-Dist: nbclient>=0.10; extra == 'docs'
Provides-Extra: plot
Requires-Dist: matplotlib>=3.8; extra == 'plot'
Description-Content-Type: text/markdown

# tenqsp-fit

[![CI](https://github.com/tenqsp/tenqsp-fit/actions/workflows/ci.yml/badge.svg)](https://github.com/tenqsp/tenqsp-fit/actions/workflows/ci.yml)
[![PyPI](https://img.shields.io/pypi/v/tenqsp-fit.svg)](https://pypi.org/project/tenqsp-fit/)
[![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.24040995.svg)](https://doi.org/10.5281/zenodo.24040995)

**Fitting [TenQSP](https://github.com/tenqsp/tenqsp) models to data, with a diagnosis of what
the data can and cannot determine.**

It fits individual and population models by optimization
(`method optimize`), the Laplace approximation (`method laplace`, FOCE-I) and NUTS
(`method nuts`); reports ridges and what the data cannot determine (the doctor, profile
likelihoods); and gives predictions with their uncertainty and visual predictive checks.
A fit is written as text after the TenQSP model, or built in Python.

```bash
pip install tenqsp-fit
```

Documentation: <https://tenqsp.github.io/tenqsp-fit/>

## Licence and credit

tenqsp-fit is free and open source under the [Apache License 2.0](LICENSE). It was created by
Dongwoo Chae, MD, PhD, Yonsei University College of Medicine
([ORCID 0000-0002-7675-3821](https://orcid.org/0000-0002-7675-3821)); copyright 2026 Yonsei
University Health System (see [`NOTICE`](NOTICE)). Its code is written with AI assistance
(Claude Code, Anthropic) under the author's design, review and testing.
