Metadata-Version: 2.4
Name: simple-linreg
Version: 0.1.0
Summary: Simple linear regression implemented from scratch.
Home-page: http://pypi.python.org/pypi/simple-linreg/
Author: Your Name
Author-email: you@example.com
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: numpy
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# simple-linreg

Simple linear regression implemented from scratch with NumPy (SEDS Lab 3).

## Installation

```bash
pip install simple-linreg
```

## Usage

```python
from simple_linreg import LinearRegression

x = [1, 2, 3, 4, 5]
y = [2.1, 3.9, 6.2, 7.8, 10.1]

model = LinearRegression().fit(x, y)
model.predict([6])        # array([12.0])
model.score(x, y)         # R^2
model.summary(x, y)       # {'intercept': ..., 'slope': ..., 'R2': ..., 'std_err': ...}
```

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