Skip to main content

profile_t is a Python module for calculating confidence intervals of nonlinear regression models.

Quantification of uncertainty of regression models is important for the interpretation of models and for decision making. The linear approximation and likelihood profiles are well-known possibilities for the calculation of confidence and prediction intervals for nonlinear regression models.

This module allows the calculation of confidence regions of the numerical parameters and the prediction interval for any nonlinear regression model compatible with sympy. It provides helper functions to build the sympy-expressions from a string representation of the model and some support plots to analyse the model.

The tau-theta plot shows the nonlinearity of the confidence interval of each parameter:

The theta-theta plot shows the relationship between a pair of numerical parameters:

The prediction interval shows the uncertainties around the predictions of the training data:

More information available at the paper:

    @article{
    }

Installation

Dependencies

profile_t requires:

  • Python
  • NumPy
  • SciPy
  • SymPy
  • Matplotlib

=======

User installation

To install from source, first clone this github repository and then run:

pip install -U .

Or from pypy:

pip install -U profile_t

Changelog

See the Changelog file for the last changes.

Examples of usage

The folder examples contain some examples of usage of this module.

Documentation

The documentation is available at link.

Testing

You can test the module with the test_profile.py script in the tests folder.

Citation

TODO

AUTHORS

  • Fabricio Olivetti de Franca <folivetti (at) ufabc.edu.br>
  • Gabriel Kronberger <Gabriel.Kronberger (at) fh-hagenberg.at>

A joint work of:

Heuristics, Analysis and Learning Laboratory (HAL) Heuristics and Evolutionary Algorithms Laboratory (HEAL)

Metadata

Release files for profile-t 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for profile-t 1.0.2
File Size Uploaded Provenance
profile_t-1.0.2.tar.gz 13.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for profile-t 1.0.2
File Interpreter ABI Platform
profile_t-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 27.6 kB

Release files / profile_t-1.0.2.tar.gz

Download URL profile_t-1.0.2.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
28261137e4e22f8ba4b0158d0a855fc8d2993a77ae7d8db0a5b4253a303f9edd
BLAKE2b-256 checksum
How to use checksums
dc93b83dfa27853cf9bafe195ad19a4abef61ea3442d049208e944201e7458a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / profile_t-1.0.2-py3-none-any.whl

Download URL profile_t-1.0.2-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b50f886ae2d9a15e8e750e1a91b97d7c5cc5eda17097d0e920a4309ddaca692
BLAKE2b-256 checksum
How to use checksums
4ff526bb900ddbe74ca419bf96ccb50aec0628bfb6759538b3fa6c32fbf88b63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Security for profile-t 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page