optimizers:实现在测试功能上运行的各种优化程序以进行优化-源码

上传者: 42121905 | 上传时间: 2021-03-19 14:08:06 | 文件大小: 164.68MB | 文件类型: ZIP
TeX
优化器 使用Python和数值库的各种优化算法的实现。 该存储库可作为本文中使用的可视化和评估的来源。 任务清单 动量的随机梯度下降( ) AdaGrad( ) AdaDelta( D.Zeiler ) RMSProp( ) 亚当(亚当( ) NAdam(多扎特( )) AMSGrad( ) 实作 在查看每种算法的完整源代码。 1.具有动量的随机梯度下降 def step ( self , x , y ): g_t = self . func . df ( x , y ) self . v = self . momentum * self . v + self . lr * g_t return ( x - self . v [ 0 ], y - self . v [ 1 ]) 2. AdaGrad def step ( self , x , y ):

文件下载

资源详情

[{"title":"( 34 个子文件 164.68MB ) optimizers:实现在测试功能上运行的各种优化程序以进行优化-源码","children":[{"title":"optimizers-main","children":[{"title":"find_best_learningrate.py <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"imgs","children":[{"title":"adam_stochastic.png <span style='color:#111;'> 21.36KB </span>","children":null,"spread":false},{"title":"Himmelblau.png <span style='color:#111;'> 271.02KB </span>","children":null,"spread":false},{"title":"Rosenbrock.png <span style='color:#111;'> 258.79KB </span>","children":null,"spread":false},{"title":"amsgrad_1e6_stochastic.png <span style='color:#111;'> 21.92KB </span>","children":null,"spread":false},{"title":"Booth.png <span style='color:#111;'> 873.14KB </span>","children":null,"spread":false},{"title":"stochastic_nonconvergence.png <span style='color:#111;'> 23.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"1712644_1712688_Proposal.pdf <span style='color:#111;'> 427.95KB </span>","children":null,"spread":false},{"title":"Proposal","children":[{"title":"sample.bib <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"proposal.pdf <span style='color:#111;'> 432.51KB </span>","children":null,"spread":false},{"title":"logo.png <span style='color:#111;'> 293.81KB </span>","children":null,"spread":false},{"title":"proposal.tex <span style='color:#111;'> 15.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"lr.csv <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"visualize.py <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"benchmark.py <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"test_functions.py <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"optimizers.py <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 25B </span>","children":null,"spread":false},{"title":"gifs","children":[{"title":"Rosenbrock","children":[{"title":"Momentum.gif <span style='color:#111;'> 11.14MB </span>","children":null,"spread":false},{"title":"Adam.gif <span style='color:#111;'> 10.99MB </span>","children":null,"spread":false},{"title":"AdaDelta.gif <span style='color:#111;'> 11.07MB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 644B </span>","children":null,"spread":false},{"title":"AdaGrad.gif <span style='color:#111;'> 11.06MB </span>","children":null,"spread":false}],"spread":true},{"title":"Booth","children":[{"title":"Momentum.gif <span style='color:#111;'> 14.12MB </span>","children":null,"spread":false},{"title":"Adam.gif <span style='color:#111;'> 14.07MB </span>","children":null,"spread":false},{"title":"AdaDelta.gif <span style='color:#111;'> 14.24MB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 708B </span>","children":null,"spread":false},{"title":"AdaGrad.gif <span style='color:#111;'> 14.30MB </span>","children":null,"spread":false}],"spread":false},{"title":"Himmelblau","children":[{"title":"Momentum.gif <span style='color:#111;'> 15.49MB </span>","children":null,"spread":false},{"title":"Adam.gif <span style='color:#111;'> 15.37MB </span>","children":null,"spread":false},{"title":"AdaDelta.gif <span style='color:#111;'> 15.47MB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 722B </span>","children":null,"spread":false},{"title":"AdaGrad.gif <span style='color:#111;'> 15.49MB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明