Skip to main content

Profile t calculation and plots for regression model

Project description

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)

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

profile_t-1.0.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

profile_t-1.0.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file profile_t-1.0.0.tar.gz.

File metadata

  • Download URL: profile_t-1.0.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for profile_t-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3805b3855bde61511b251cdde3bef361abce963de1aa7e386218ce434ccaeee8
MD5 3e4904e22587c79e5debae9bccb57a79
BLAKE2b-256 f389e3da1498dcb67e60da101dc050d8026993c5c74e7d27f7f13de118ae8c9a

See more details on using hashes here.

File details

Details for the file profile_t-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: profile_t-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for profile_t-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f240aaab23c23305856ab1daa2c41acde6c22b02a086329e0153f633e7d7a2d
MD5 31906430de0ea35a4ca1ce460b12e4cc
BLAKE2b-256 83048f5817f21dc6303195a2ac7be3ce519aafd2a42ab5563fd7652aabc895ff

See more details on using hashes here.

Supported by

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