An awesome package that does something
Project description
Linear Regression Package
linear_regression is a Python library for implementing simple linear regression.
Installation
Use the package manager pip to install linear_regression.
pip install linear_regression
## Usage
```python
from linear_regression import SimpleLinearRegression
# Create a SimpleLinearRegression object
model = SimpleLinearRegression()
# Prepare your data
X = [1, 2, 3, 4, 5]
y = [2, 3, 5, 7, 11]
# Fit the model
model.fit(X, y)
# Make predictions
predictions = model.predict([6, 7, 8])
print(predictions)
License
Project details
Release history Release notifications | RSS feed
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 maouladlinear_regression-1.0.0.tar.gz.
File metadata
- Download URL: maouladlinear_regression-1.0.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5c0b10f6d2e629273eab36f55e426f486c858c3dd30ebcfeb3aafac02a7afb1
|
|
| MD5 |
c0b5997bacfe3436b2164193294c9968
|
|
| BLAKE2b-256 |
1ddc7643f7f0502bc18b90faed2a671bb6f1668fa3f88eaa3878a47a23ac848b
|
File details
Details for the file MAOuladlinear_regression-1.0.0-py3-none-any.whl.
File metadata
- Download URL: MAOuladlinear_regression-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a974fc67a022a1810d0651f8eeab38f8423c9a98542c882e00868418fbad6909
|
|
| MD5 |
639efb00a05b75dd1d54109c1ba3609b
|
|
| BLAKE2b-256 |
9ceb0de3a625c32b3a94965572a68774b7e21fe248066a4dc0c005aa40271a57
|