Metadata-Version: 2.4
Name: simple-linreg-esi-demo
Version: 1.0.0
Summary: Simple linear regression from scratch
Home-page: http://pypi.python.org/pypi/simple-linreg-esi-demo/
Author: Belhocine Ahleme
Author-email: a.belhocine@esi-sba.dz
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# simple-linreg

Regression lineaire simple (`y = b0 + b1 * x`) ecrite from scratch.

## Installation
```bash
pip install dist/simple_linreg_esi_demo-1.0.0-py3-none-any.whl
```

## Utilisation
```python
from simple_linreg import SimpleLinearRegression
model = SimpleLinearRegression().fit([1, 2, 3, 4], [3, 5, 7, 9])
model.predict([10])      # [21.0]
model.slope_, model.intercept_   # (2.0, 1.0)
```

## License
[MIT](https://choosealicense.com/licenses/mit/)
