【问题标题】:Where is the documentation for the full_output option of scipy curve_fit?scipy curve_fit 的 full_output 选项的文档在哪里?
【发布时间】:2019-01-05 05:01:15
【问题描述】:

This post 提到使用 scipy 的 full_output 选项来获取额外数据,包括有关拟合质量的更多信息:

pcov, infodict, errmsg, ier = curve_fit(func, xdata, ydata, sigma = SD, full_output = True)

经过一番搜索(谷歌,scipy 文档),我在scipy curve_fit documentation 中没有看到任何提及 full_output 选项。

谁能提供一些文档的链接?

如果没有,有人可以描述额外的返回数据以及如何使用它吗?

【问题讨论】:

  • docs.scipy.org/doc/scipy-0.19.0/reference/generated/… 它是leastsq 的一个参数,curve_fit 建立在此之上(参见 kwargs 部分)。
  • @ayhan 是对的。链接的文档指出:“kwargs:传递给 leastsq 的关键字参数”。只需点击那里的链接并相应阅读。

标签: python scipy curve-fitting


【解决方案1】:

来自 ayhan 的评论:docs.scipy.org/doc/scipy-0.19.0/reference/generated/... 它是 minimumsq 的一个参数,而 curve_fit 是在此基础上构建的(参见 kwargs 部分)

【讨论】:

    猜你喜欢
    • 2021-12-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-03-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多