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.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: profile_t-1.0.1.tar.gz
  • Upload date:
  • Size: 9.3 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.1.tar.gz
Algorithm Hash digest
SHA256 92ec0a180969281efbf3ebefadb56ac832b5fe068234fe35aa55f7eda35d6d40
MD5 f35d5c916dce2286b4b394c5f9cfbc14
BLAKE2b-256 75c5ea460f117d37e74660ddbe6693033c0d3fce1020e27f84173119c2820088

See more details on using hashes here.

File details

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

File metadata

  • Download URL: profile_t-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d0faf444b8660dcae6ca14d888c1178d330a761ab0e43a4cef350af051ef7cc
MD5 f7ce47ead68620182e9985bf12240adb
BLAKE2b-256 c6381c08cb540689f596d11dcbfb53d40cc9d95535f3d25bab346712b83a11d6

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