Answers for "fix certain parameters during curve fit python lambda"

0

fix certain parameters during curve fit python lambda

def func(x,a,b):
   return a*x*x + b

for b in xrange(10):
   popt,pcov = curve_fit(lambda x, a: func(x, a, b), x1, x2)
Posted by: Guest on August-20-2020

Python Answers by Framework

Browse Popular Code Answers by Language