gpt4 book ai didi

r - R 中的广义缩减梯度 (GRG2) 算法

转载 作者:行者123 更新时间:2023-12-03 15:37:40 24 4
gpt4 key购买 nike

有谁知道哪个 R 包实现了广义减少梯度(GRG2)算法?谢谢

最佳答案

由于@BenBolker 已经在寻找您希望复制的功能类型方面做了初步工作,因此我发布了可能有用的后续内容。最近在 Rhelp 上的交流以被提名为 R fortunes 的报价结束。包裹,虽然我不清楚它是否被接受:

"The idea that the Excel solver "has a good reputation for being fast
and accurate" does not withstand an examination of the Excel solver's
ability to solve the StRD nls test problems. ...
Excel solver does have the virtue that it will always produce an
answer, albeit one with zero accurate digits."

"I am unaware of R being applied to the StRD, but I did apply S+ to the
StRD and, with analytic derivatives, it performed flawlessly."

From: Bruce McCullough <bdmccullough@drexel.edu>
Date: February 20, 2013 7:58:24 AM PST

这是 McCullough 的自引工作的链接,该工作记录了 Excel Solver(我们现在知道它由某些版本的 GRG2 算法提供支持)的失败:
www.pages.drexel.edu/~bdm25/chap8.pdf测试问题的 NIST 网站链接在这里: http://www.itl.nist.gov/div898/strd/nls/nls_info.shtmlhttp://www.itl.nist.gov/div898/strd/nls/nls_main.shtml

来自@jwg 的负面评论(通过投反对票引起了我的注意)促使我重做 Bolker 建议的搜索。仍然没有点击 findFn( "GRG2") .我可以向求解器报告“GRG”的几个命中,但显然没有一个命中,并且很高兴其中一个对“通用随机猜测模型”进行了引人入胜的扩展。当我可以说是不回答的主旨是选择使用 Excel 的求解器让人们真正不确定解决方案的准确性时,这似乎特别有趣。我对发布的“答案”并没有完全满足所要求的内容感到不后悔,而是警告那些在这个统计/数学领域可能不忠实于 Microsoft 方式的用户。分布式 R 开发人员缺乏为 Excel 求解器提供直接替代品的任何努力,这是值得认真思考的问题。

关于r - R 中的广义缩减梯度 (GRG2) 算法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15175869/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com