Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
curve_fit
#4
Error:
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/scipy/optimize/minpack.py", line 736, in curve_fit
I dont know how useful that error message. Can you provide with the fill stack trace?

And also I noticed shouldn't bonds must be spelled bounds?

popt, pcov = curve_fit(langmuir, Voltage, Current, bounds=([1,5],[-5,0]))
Reply


Messages In This Thread
curve_fit - by rizal - Dec-19-2017, 05:10 PM
RE: curve_fit - by Larz60+ - Dec-19-2017, 07:35 PM
RE: curve_fit - by Terafy - Dec-20-2017, 12:18 PM
RE: curve_fit - by hshivaraj - Dec-20-2017, 04:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using scipy.optimize: curve_fit ju21878436312 0 984 Sep-24-2022, 01:15 PM
Last Post: ju21878436312
  How to get coefficient of determination R2 after scipy.curve_fit? AlekseyPython 0 1,890 Feb-12-2021, 09:03 AM
Last Post: AlekseyPython
  scipy curve_fit for multiple independent variables Jay_Nerella 1 7,233 May-08-2019, 02:08 AM
Last Post: scidam

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020