cjekel / piecewise_linear_fit_py

fit piecewise linear data for a specified number of line segments
MIT License
289 stars 59 forks source link

One line segment fits #102

Closed cjekel closed 2 years ago

cjekel commented 2 years ago

This PR adds one line segment fits

closes https://github.com/cjekel/piecewise_linear_fit_py/issues/100

codecov[bot] commented 2 years ago

Codecov Report

Merging #102 (e4cdd6b) into master (050c693) will increase coverage by 0.11%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #102      +/-   ##
==========================================
+ Coverage   94.50%   94.61%   +0.11%     
==========================================
  Files           3        3              
  Lines         382      390       +8     
==========================================
+ Hits          361      369       +8     
  Misses         21       21              
Flag Coverage Δ
unittests 94.61% <100.00%> (+0.11%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pwlf/pwlf.py 94.57% <100.00%> (+0.11%) :arrow_up:
pwlf/version.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 050c693...e4cdd6b. Read the comment docs.