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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_regression_grqphical-0.2.0.tar.gz.
File metadata
- Download URL: simple_regression_grqphical-0.2.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f29c7f81d4dd008ec54ba7627a6643f00f89d1822c58480dbd2c76bf107706b
|
|
| MD5 |
4f62ca51f10b7ae6d73cc3303483e607
|
|
| BLAKE2b-256 |
bb20e29e5dcb502437d19a2c2d4271980ce0376061511fb6a91b3cb273bfa2b3
|
File details
Details for the file simple_regression_grqphical-0.2.0-py3-none-any.whl.
File metadata
- Download URL: simple_regression_grqphical-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8d264abfde14833b2320af7ebbea606f7295e7294a6d621e1895d6d8b17f7da
|
|
| MD5 |
fbc2bf7d7c02b1e32d233c3025bb73ad
|
|
| BLAKE2b-256 |
c3b27622a98db816b6436511ddc8015e8678025cdcfdf955fe8bcddef405f9db
|