'scipy.optimize.curve_fit how to limite params' relative bounds
my function has 3 parameters :f(x, param1,param2,param3)
I used curve_fit to optimize parameters with x,ydata:
opt, pcov = curve_fit(f, xdata, ydata,bounds)
question: I want to limit param1<param2<param3, but it seems that bounds only can be given values.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
