Skip to main content

This is a simple implementation of Linear Regression using the method of Least Squares

Project description

Simple Regression

This is a super simple implementation of Regression (Linear and Quadratic), built from scratch using numpy.

Usage

Run:

pip install simple-regression-grqphical

Quickstart:

from simple_regression import LinearRegression

data = [(0,0), (1, 3), (2, 5), (-3, 7)]
lr = LinearRegression(data)

y = lr.predict(7)

License

This project is licensed under the MIT License

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

simple_regression_grqphical-0.2.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

simple_regression_grqphical-0.2.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file simple_regression_grqphical-0.2.0.tar.gz.

File metadata

File hashes

Hashes for simple_regression_grqphical-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0f29c7f81d4dd008ec54ba7627a6643f00f89d1822c58480dbd2c76bf107706b
MD5 4f62ca51f10b7ae6d73cc3303483e607
BLAKE2b-256 bb20e29e5dcb502437d19a2c2d4271980ce0376061511fb6a91b3cb273bfa2b3

See more details on using hashes here.

File details

Details for the file simple_regression_grqphical-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_regression_grqphical-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8d264abfde14833b2320af7ebbea606f7295e7294a6d621e1895d6d8b17f7da
MD5 fbc2bf7d7c02b1e32d233c3025bb73ad
BLAKE2b-256 c3b27622a98db816b6436511ddc8015e8678025cdcfdf955fe8bcddef405f9db

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