Skip to main content

gpr1d

Installing the gpr1d program

Author: Aaron Ho (01/06/2018)

Installation is mandatory for this package!

For first time users, it is strongly recommended to use the GUI developed for this Python package. To obtain the Python package dependencies needed to use this capability, install this package by using the following on the command line:

pip install [--user] gpr1d[guis]

Use the --user flag if you do not have root access on the system that you are working on. If you have already cloned the repository, enter the top level of the repository directory and use the following instead:

pip install [--user] -e .[guis]

Removal of the [guis] portion will no longer check for the GUI generation and plotting packages needed for this functionality. However, these packages are not crucial for the base classes and algorithms.

Documentation

Documentation of the equations used in the algorithm, along with the available kernels and optimizers, can be found in docs/. Documentation of the gpr1d module can be found on GitLab pages

Using the gpr1d program

For those who wish to include the functionality of this package into their own Python scripts, a demo script is provided in src/gpr1d/scripts. The basic syntax used to create kernels, select settings, and perform GP regression fits are outlined there.

In addition, a simplified gpr1d class is available for those wishing to distill the parameters into a subset of the most crucial ones.

For any questions or to report bugs, please do so through the proper channels in the GitLab repository.

Important note for users!

The following runtime warnings are common within this routine, but they are filtered out by default:

RuntimeWarning: overflow encountered in double_scalars
RuntimeWarning: invalid value encountered in true_divide
RuntimeWarning: invalid value encountered in sqrt

They normally occur when using the kernel restarts option (as in the demo) and do not necessarily mean that the resulting fit is poor.

Plotting the resulting fit and errors is the recommended way to check its quality. The log-marginal-likelihood metric can also be used, but is only valuable when comparing different fits of the same data, ie. its absolute value is meaningless.

From v1.1.1, the adjusted R2 and pseudo R2 metrics are now available. The adjusted R2 metric provides a measure of how close the fit is to the input data points. The pseudo R2 provides a measure of this closeness accounting for the input data uncertainties.

Release files for gpr1d 2.0.0

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

Source distribution (sdist)

Source distribution for gpr1d 2.0.0
File Size Uploaded
gpr1d-2.0.0.tar.gz 802.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gpr1d 2.0.0
File Interpreter ABI Platform
gpr1d-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 871.4 kB

Release files / gpr1d-2.0.0.tar.gz

Download URL gpr1d-2.0.0.tar.gz
Size 802.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a48e9aff04b69ae81c279b14224b9193b5baec82cbae5872ff398a947a5ffc62
BLAKE2b-256 checksum
How to use checksums
f9e0e092887fe6994ca7cf333fb2abb9774d6295ed7bda8512540b68a9dce52b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / gpr1d-2.0.0-py3-none-any.whl

Download URL gpr1d-2.0.0-py3-none-any.whl
Size 68.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45bc90a5129818c934aacb53cdf3303c6244e47d78aa43e7926e82ba4ee3d226
BLAKE2b-256 checksum
How to use checksums
21e60344aa2d9edef9833d51bd6b706ede55619a938a73f3c1eaa84615fa08ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.3.1

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.0.1

2 release files

1.0.0

2 release files

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