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.

Files for quickregress, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size quickregress-0.1.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page