标签: python scipy least-squares
我通过使用权重为我的残差将错误包含在ydata中。如何在xdata上实现错误?我希望我不需要切换拟合程序,因为我现在使用的是lmfit包,非常棒。
http://cars9.uchicago.edu/software/python/lmfit/
答案 0 :(得分:0)
听起来像正交距离回归: http://docs.scipy.org/doc/scipy/reference/odr.html