Skip to main content

Versatile proxy models for regression analysis

Project description

Proxy classes for regression analysis

builds docs 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.

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

regressproxy-0.0.1.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

regressproxy-0.0.1-py2.py3-none-any.whl (24.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file regressproxy-0.0.1.tar.gz.

File metadata

  • Download URL: regressproxy-0.0.1.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for regressproxy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 88f4294c32ec7bf8e02ac684c56abc4d6f61497e0c7627906ea0b1ed2aa08d11
MD5 d03c0bd97fe7b69561ac570741e36a94
BLAKE2b-256 2c9340a8d5dfbb73eb7b8696ee61e92e13fa37ecf36e1eb1b779cf52335e8b9a

See more details on using hashes here.

File details

Details for the file regressproxy-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for regressproxy-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fb7f2128d107f35c1d8670e74e82154291dcf76b25de311b2996a80c7052ae53
MD5 d6528727f67d4fad5222cf6992c5c5a5
BLAKE2b-256 b2ae229f4611b6bd4d8faa7584f611ff2673c8f87d1a504ffe2464820a11da23

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