Skip to main content

Versatile proxy models for regression analysis

Project description

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.

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

Uploaded Source

Built Distribution

regressproxy-0.0.2-py2.py3-none-any.whl (24.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for regressproxy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 26b7ac0eda5e63b7fe28b55f786d5ef6402ce661e5c9fb36f0873d30dbe184f5
MD5 056d67bed31eca6529a1d59a17a1d5c6
BLAKE2b-256 91474a9b5a4b76881f8c2a4dcbdcdd64546caa592ff208216063892e2b770dd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for regressproxy-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f71e2095a8c91611b925738069d9ebd7682ea0932c624ab204288770b58a938d
MD5 d97467bf87a7724e5b68b546d8775e9a
BLAKE2b-256 051a2c80f2bb14567816acf95961d0a15725861bceb6540233aeb3a5b1d3a640

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