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.4.tar.gz (5.2 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.4-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: localpoly-0.1.4.tar.gz
  • Upload date:
  • Size: 5.2 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.4.tar.gz
Algorithm Hash digest
SHA256 37ce97ec30c9368f15d17fb0924ea47cef837575c3320aa15a36d1700673e92b
MD5 f4dc07f92767812b0d8f467873e487f4
BLAKE2b-256 079fb834ae5e5a335687a5a404baac145d30eeff91e5da0a7a7caed407370820

See more details on using hashes here.

File details

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

File metadata

  • Download URL: localpoly-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.0 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c5d7d58a6b5fab1219f68ae212aae9851150aed9758ab4d3f40d299525a1e3d4
MD5 f8cbc8cc031bd177a74b461783a71254
BLAKE2b-256 ac53fe60dc811e661cfe6ff180b68e00a49bbc54bb19fba5eb61df862950c589

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