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 details)
File details
Details for the file seglines-0.0.3.tar.gz
.
File metadata
- Download URL: seglines-0.0.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
07da7edd723b459e5a095bb0b2db4c8e1c669b5bb05dfb8be89b5632140a8c04
|
|
MD5 |
3d5eec4b846776e84f9b6e613bc57444
|
|
BLAKE2b-256 |
0d97c1e61e73553cd31f3d1fbe882aae99e8f2a90e7e3fd900993c6c093642f3
|