Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ianhi/line-fit-cli


https://github.com/ianhi/line-fit-cli

Last synced: 12 days ago
JSON representation

Awesome Lists containing this project

README

        

# line-fit-cli

cli for loading csvs and fitting simple curves to them. Avoid opening needing to open a full python session or excel.

To install: `pip install git+https://github.com/ianhi/line-fit-cli`

Standard Least squares with a plot
```bash
csv-fit-linear examples/example.csv
```

Without a plot
```bash
csv-fit-linear examples/example.csv --no-plot
```

Ridge Regression

```bash
csv-fit-linear examples/example.csv --ridge
```

Ridge regression changing alpha
```bash
csv-fit-linear examples/example.csv --ridge --ridge-alpha=.5
```