Skip to main content

Proxy classes for regression analysis

builds docs package wheel pyversions codecov coveralls scrutinizer

Overview

This package provides classes to easily model proxies for regression analysis. Originally intended to be used for (trace gas density) time series, but it might be useful in other cases too. The classes allow for a lag and finite proxy lifetime to be include when modelling the time series.

Development happens on github https://github.com/st-bender/pyregressproxy.

Install

Prerequisites

All dependencies will be automatically installed when using pip install or python setup.py, see below. However, to speed up the install or for use within a conda environment, it may be advantageous to install some of the important packages beforehand:

  • numpy at least version 1.13.0 for general numerics,
  • celerite at least version 0.3.0 for the "standard" model interface,
  • PyMC3, optional, for the PyMC3 model interface, and
  • PyMC4, optional, for the PyMC4 model interface.

numpy should probably be installed first because celerite needs it for setup. It may also be a good idea to install pybind11 beforehand because celerite uses its interface.

Depending on the setup, numpy and pybind11 can be installed via pip:

pip install numpy pybind11

or conda:

conda install numpy pybind11

regressproxy

Official releases are available as pip packages from the main package repository, to be found at https://pypi.org/project/regressproxy/, and which can be installed with:

$ pip install regressproxy

The latest development version of regressproxy can be installed with pip directly from github (see https://pip.pypa.io/en/stable/reference/pip_install/#vcs-support and https://pip.pypa.io/en/stable/reference/pip_install/#git):

$ pip install [-e] git+https://github.com/st-bender/pyregressproxy.git

The other option is to use a local clone:

$ git clone https://github.com/st-bender/pyregressproxy.git
$ cd pyregressproxy

and then using pip (optionally using -e, see https://pip.pypa.io/en/stable/reference/pip_install/#install-editable):

$ pip install [-e] .

or using setup.py:

$ python setup.py install

Usage

The module is imported as usual:

>>> import regressproxy

Basic class and method documentation is accessible via pydoc:

$ pydoc regressproxy

License

This python package is free software: you can redistribute it or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 (GPLv2), see local copy or online version.

Metadata

Release files for regressproxy 0.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 regressproxy 0.0.2
File Size Uploaded Provenance Actions
regressproxy-0.0.2.tar.gz 375.0 kB Without provenance Details for regressproxy-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for regressproxy 0.0.2
File Interpreter ABI Platform Actions
regressproxy-0.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for regressproxy-0.0.2-py2.py3-none-any.whl

Total release size: 399.5 kB

Release files / regressproxy-0.0.2.tar.gz

Download URL regressproxy-0.0.2.tar.gz
Size 375.0 kB
Tags Source
SHA-256 checksum
How to use checksums
26b7ac0eda5e63b7fe28b55f786d5ef6402ce661e5c9fb36f0873d30dbe184f5
BLAKE2b-256 checksum
How to use checksums
91474a9b5a4b76881f8c2a4dcbdcdd64546caa592ff208216063892e2b770dd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / regressproxy-0.0.2-py2.py3-none-any.whl

Download URL regressproxy-0.0.2-py2.py3-none-any.whl
Size 24.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f71e2095a8c91611b925738069d9ebd7682ea0932c624ab204288770b58a938d
BLAKE2b-256 checksum
How to use checksums
051a2c80f2bb14567816acf95961d0a15725861bceb6540233aeb3a5b1d3a640
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Security for regressproxy 0.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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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