ianhi / line-fit-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

csv-fit-linear examples/example.csv

Without a plot

csv-fit-linear examples/example.csv --no-plot

Ridge Regression

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

Ridge regression changing alpha

csv-fit-linear examples/example.csv --ridge --ridge-alpha=.5

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%