[Numpy-discussion] Best fit linear piecewise function?
klaus.zimmermann at smhi.se
Thu Jun 3 07:32:27 EDT 2021
if you are interested in the 1d problem, you might also consider a
spline fit of order 1, for example with scipy.interpolate, see .
On 03/06/2021 13:12, Mark Bakker wrote:
> My students are using this and seem to like it:
> Date: Tue, 1 Jun 2021 17:22:52 -0700
> From: Chris Barker <chris.barker at noaa.gov
> <mailto:chris.barker at noaa.gov>>
> To: Discussion of Numerical Python <numpy-discussion at python.org
> <mailto:numpy-discussion at python.org>>
> Subject: [Numpy-discussion] Best fit linear piecewise function?
> <CALGmxELHB3MUT=i58WZ0dL_292GvntmFRte88ik98h2NqT1YJw at mail.gmail.com
> <mailto:i58WZ0dL_292GvntmFRte88ik98h2NqT1YJw at mail.gmail.com>>
> Content-Type: text/plain; charset="utf-8"
> 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:
> At a glance, that looked just hard enough to code up that I'm hoping
> someone has already done it :-)
> Christopher Barker, Ph.D.
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
> Chris.Barker at noaa.gov <mailto:Chris.Barker at noaa.gov>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
More information about the NumPy-Discussion