【文件属性】:
文件名称:pytron:Python中的信任区域牛顿优化
文件大小:192KB
文件格式:ZIP
更新时间:2021-06-12 07:40:38
C
Python 中的 Trust-Region Newton 方法
!危险!
这是 alpha 质量的软件,但边缘仍然很粗糙。 具体来说,仍然缺乏错误管理(这意味着如果优化中出现问题,您将不会看到错误消息,而只会看到垃圾信息)。 这些事情正在制定中,但我们还没有完全到位。
主要功能是pytron.minimize:
def minimize(func, grad_hess, x0, args=(), max_iter=1000, tol=1e-6):
Parameters
----------
func : callable
func(w, *args) is the evaluation of the function at w, It
should return a float.
grad_hess: callable
【文件预览】:
pytron-master
----MANIFEST.in(47B)
----README.rst(3KB)
----test.py(468B)
----example_logistic.py(1KB)
----doc()
--------benchmark_logistic.ipynb(243KB)
----setup.py(1KB)
----.gitignore(32B)
----pytron()
--------tron.pyx(5KB)
--------src()
--------__init__.py(86B)
----COPYING(1KB)