4 down vote curve-fit is using leastsq for the calculation, so they should always give the same result. The miniscule difference you see there is probably a result of rounding error somewhere. calling leastsq directly should eliminate that. From the docs of curve_fit: The algorithm uses the Levenbe

U1and0U1and0 のブックマーク 2016/12/03 21:38

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Difference between curve_fit and leastsq in python from scipy.optimize

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう