- 博客(2)
- 收藏
- 关注
原创 python中的kstest拟合优度检测如何检测自定义函数
其他系统中有的函数可以直接检验,但是自定义的函数怎么检验呢??K_21M是K分布的参数估计的自定义函数,怎么用ks检测呢?
2020-04-29 15:51:25 1111
原创 python scipy.fsolve解非线性方程,如何解决程序报错,OverflowError: (34, 'Result too large')
代码:from scipy.optimize import fsolveimport mathm = 1.2764def func(x):return (4 * x * math.gamma(x) ** 2 / math.pi / math.gamma(x + 0.5) ** 2 - m)v21 = fsolve(func, 0.01)print(v21)问题:解非线性方程,当m>...
2020-04-27 21:18:23 4433 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人