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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file profile_t-1.0.2.tar.gz
.
File metadata
- Download URL: profile_t-1.0.2.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28261137e4e22f8ba4b0158d0a855fc8d2993a77ae7d8db0a5b4253a303f9edd |
|
MD5 | 4f15eba17e1e39154dcd702dfd3d8b7f |
|
BLAKE2b-256 | dc93b83dfa27853cf9bafe195ad19a4abef61ea3442d049208e944201e7458a6 |
File details
Details for the file profile_t-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: profile_t-1.0.2-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b50f886ae2d9a15e8e750e1a91b97d7c5cc5eda17097d0e920a4309ddaca692 |
|
MD5 | af9683658ae88fc5e32283478298d4ae |
|
BLAKE2b-256 | 4ff526bb900ddbe74ca419bf96ccb50aec0628bfb6759538b3fa6c32fbf88b63 |