Skip to main content

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

MIT

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

maouladlinear_regression-1.0.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

MAOuladlinear_regression-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file maouladlinear_regression-1.0.0.tar.gz.

File metadata

File hashes

Hashes for maouladlinear_regression-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f5c0b10f6d2e629273eab36f55e426f486c858c3dd30ebcfeb3aafac02a7afb1
MD5 c0b5997bacfe3436b2164193294c9968
BLAKE2b-256 1ddc7643f7f0502bc18b90faed2a671bb6f1668fa3f88eaa3878a47a23ac848b

See more details on using hashes here.

File details

Details for the file MAOuladlinear_regression-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for MAOuladlinear_regression-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a974fc67a022a1810d0651f8eeab38f8423c9a98542c882e00868418fbad6909
MD5 639efb00a05b75dd1d54109c1ba3609b
BLAKE2b-256 9ceb0de3a625c32b3a94965572a68774b7e21fe248066a4dc0c005aa40271a57

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page