Skip to main content

Provides a low-effort wrapper for sklearn's polynomial regression

Project description

quickregress

Polynomial regression for the lazy

quickregress is a minimalist wrapper for sklearn's polynomial and linear regression functionality, intended to reduce the amount of effort needed for simple regression operations.

quickregress provides one function: regress(x, y, degree). regress returns a RegressionResult, which has the following methods:

predict(x) returns the model's predictions for a list of x values.

formula(digits=6, latex=False) returns the model's formula as a string. digits changes the number of significant digits, and latex outputs a LaTeX-friendly string (for use with Jupyter and the like).

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

quickregress-0.1.2.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file quickregress-0.1.2.tar.gz.

File metadata

  • Download URL: quickregress-0.1.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for quickregress-0.1.2.tar.gz
Algorithm Hash digest
SHA256 611bab76b2a88441c727c5adbaf202d79ede72b875093540ebedc06933a533b2
MD5 fa65be0876da9fda73b0c2bcc0f0e560
BLAKE2b-256 9312f5ab0080f4106577ede55a96f618ec545ce7512d4247b6d1c8893019acfd

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