[SciPy-user] Does scipy have a function to...?
haase at msg.ucsf.edu
Mon Sep 25 23:05:36 CDT 2006
we have used scipy cobyla minimaziation successfully to minimize square
error of a parameterized function to data points while obeying the
constrain that "function - datapoint" is strictly non-negative.
"function" could be anything that can be given by a python function (you
might need scipy.vectorize) !!
It worked grate.
from scipy.omtmize import cobyla (this is from memory - but should be
and follow the example in the source code.
Robert Kern wrote:
> Clinton Allen wrote:
>> You might look at Chebyshev polynomials. They have a "min-max of the error"
>> property. One place to start is
> Unfortunately, that's two-sided error. It won't do what he wants.
>> Don't know if there's any python code for using these.
More information about the SciPy-user