Skip to main content

Segmented Least Squares

Project description

seglines

What:

Compute segmented least squares for a dataset. Probably assumes that X = 1...N or something.

Install:

pip install seglines

Usage:

seglines --help

seglines l data.csv

To generate data first:

seglines --generate 5 10 > data.csv

and then

seglines 5 data.csv

This outputs the segments, and also writes a file data.csv for your convenience.

To create a plot of the dataset, add --plot:

seglines 5 data.csv --plot

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seglines-0.0.3.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page