Re: [Numpy-discussion] Best fit linear piecewise function?

2021-06-07 Thread Chris Barker
;mailto:chris.bar...@noaa.gov>> > > To: Discussion of Numerical Python > <mailto:numpy-discussion@python.org>> > > Subject: [Numpy-discussion] Best fit linear piecewise function? > > Message-ID: > > > > > <mailto:i58wz

Re: [Numpy-discussion] Best fit linear piecewise function?

2021-06-07 Thread Chris Barker
>> To: Discussion of Numerical Python >> Subject: [Numpy-discussion] Best fit linear piecewise function? >> Message-ID: >> > i58wz0dl_292gvntmfrte88ik98h2nqt1...@mail.gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >>

Re: [Numpy-discussion] Best fit linear piecewise function?

2021-06-03 Thread Klaus Zimmermann
00 > From: Chris Barker <mailto:chris.bar...@noaa.gov>> > To: Discussion of Numerical Python <mailto:numpy-discussion@python.org>> > Subject: [Numpy-discussion] Best fit linear piecewise function? > Message-ID: >         > <mailto:i58wz0dl_292

Re: [Numpy-discussion] Best fit linear piecewise function?

2021-06-03 Thread Mark Bakker
My students are using this and seem to like it: https://jekel.me/piecewise_linear_fit_py/about.html > Date: Tue, 1 Jun 2021 17:22:52 -0700 > From: Chris Barker > To: Discussion of Numerical Python > Subject: [Numpy-discussion] Best fit linear piecewise function?

Re: [Numpy-discussion] Best fit linear piecewise function?

2021-06-02 Thread Chris Barker
On Wed, Jun 2, 2021 at 1:50 AM Vincent Schut wrote: > Multivariate Adaptive Regression Splines might fit the bill? Implemented > for python as py-earth: https://github.com/scikit-learn-contrib/py-earth. > That looks massively more complex than I was thinking for my use case. And it seems to be a

Re: [Numpy-discussion] Best fit linear piecewise function?

2021-06-02 Thread Vincent Schut
Multivariate Adaptive Regression Splines might fit the bill? Implemented for python as py-earth: https://github.com/scikit-learn-contrib/py-earth. On 6/2/21 2:22 AM, Chris Barker wrote: Do any of you know of code for finding an optimum linear piecewise fit to a set of points? Somethin like wh

[Numpy-discussion] Best fit linear piecewise function?

2021-06-01 Thread Chris Barker
Do any of you know of code for finding an optimum linear piecewise fit to a set of points? Somethin like what is described in this article: https://www.hindawi.com/journals/mpe/2015/876862/ At a glance, that looked just hard enough to code up that I'm hoping someone has already done it :-) -CHB