Metadata-Version: 2.1
Name: simplelinregabh
Version: 1.0.1
Summary: A simple linear regression model built from scratch in Python.
Author: Yacine Abderrahmane Belkaid
Author-email: yacine.abh@gmail.com
License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# simpleLinRegAbh

A simple linear regression model built from scratch using pure Python.

## Usage

```python
from simpleLinRegAbh import SimpleLinearRegression

X = [1, 2, 3, 4, 5]
y = [2, 4, 5, 4, 5]

model = SimpleLinearRegression()
model.fit(X, y)

print("Slope:", model.b1)
print("Intercept:", model.b0)
print("Predictions:", model.predict([6, 7]))
print("RÂ² score:", model.score(X, y))
