Skip to main content

Performs Local Polynomial Regression.

Project description

localpoly

This package uses Local Polynomial Regression to create a fit to the data. The model conveniently also estimates the first and second derivative of the fit.

The main functions are LocalPolynomialRegression.fit, which creates the fit and LocalPolynomialRegressionCV.bandwidth_cv, which finds the optimal bandwidth for the kernel which is used for the fit.

Read the documentation for the theoretical background and examples.

Installation

Via pip

    pip install localpoly

Or via download from git:

    pip install git+https://github.com/franwe/localpoly#egg=localpoly

Note that in order to avoid potential conflicts with other packages it is strongly recommended to use a virtual environment (venv) or a conda environment.

See image in README.md in GitHub repo.

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

localpoly-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

localpoly-0.1.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file localpoly-0.1.1.tar.gz.

File metadata

  • Download URL: localpoly-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.6

File hashes

Hashes for localpoly-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e6cb16840812fe1939d43cb8c1d4e0603b6d4a785a1e8282b951577b8f0a9091
MD5 946b9a569e1748fcd42333811160c649
BLAKE2b-256 20a0dfd5ae2341a32d04f43924781830bdbc3bc7dfba33d4c8c078c3ec2bd18b

See more details on using hashes here.

File details

Details for the file localpoly-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: localpoly-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.6

File hashes

Hashes for localpoly-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 548c0b06b0ebfe8ce366a74514d6e3db7185bb67b9ec231b4d625d598d4cd082
MD5 fc02c607c20ff6016f4c5b97bde7101e
BLAKE2b-256 ba6bd78cb257098c79db34d4918447d873ea15e1c955af331eb63db5372d6214

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page