Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NickFoubert/simple-segment
/ functions
Functions
9 in github.com/NickFoubert/simple-segment
⨍
Functions
9
◇
Types & classes
0
↓ 6 callers
Function
draw_plot
(data,plot_title)
example.py:6
↓ 6 callers
Function
draw_segments
(segments)
example.py:13
↓ 2 callers
Function
leastsquareslinefit
Return the parameters and error for a least squares line fit of one segment of a sequence
wrappers.py:4
Function
bottomupsegment
Return a list of line segments that approximate the sequence. The list is computed using the bottom-up technique. Parameters
segment.py:36
Function
interpolate
Return (x0,y0,x1,y1) of a line fit to a segment using a simple interpolation
fit.py:20
Function
regression
Return (x0,y0,x1,y1) of a line fit to a segment of a sequence using linear regression
fit.py:13
Function
slidingwindowsegment
Return a list of line segments that approximate the sequence. The list is computed using the sliding window technique. Parameters
segment.py:2
Function
sumsquared_error
Return the sum of squared errors for a least squares line fit of one segment of a sequence
fit.py:5
Function
topdownsegment
Return a list of line segments that approximate the sequence. The list is computed using the bottom-up technique. Parameters
segment.py:72