dikar云墨竹
dikar · 共 707 篇文章
收敛准则
针对 x和 f(x) 计算梯度收敛 有如下几个准则,设 e1 = e2 = 0.00001 e3=0.0001 当|x* | > e2 和 | f(x*) | > e2 可采用 |x - x*| / x* 《 e1 |f(x)-f(x*)| / f(x*) 《 e1 否则 | x-x* | 《 e1 | f(x) - f(x*) | 《 e1 对于有一阶导数的,可以采用如下 || g* || 《 e3
2017-08-28T22:31:05Z · 互联网 · 评论(0)
方向导数和梯度
2017-08-28T22:20:52Z · 互联网 · 评论(0)
梯度下降算法变化率曲线
为了学习matplotlib 画图,同时也为了看看各种优化算法下变化率曲线 先看最好的RMSprop 算法(350次) import math import matplotlib #导入matplotlib库 from numpy import * import numpy as np import matplotlib.pyplot as plt from matplotlib.ticker import MultipleLocator, FuncFormatter def f(x): return x**3-x+x**2 def derivative_f(x): return 3*(x*…
2017-08-28T22:10:00Z · 互联网 · 评论(0)
各种导数(梯度)下降优化算法python实现
梯度下降算法总纲: 1:CS231 http://cs231n.github.io/neural-networks-3/ https://zhuanlan.zhihu.com/p/21798784?refer=intelligentunit 2:An overview of gradient descent optimization algorithms http://ruder.io/optimizing-gradient-descent/index.html ADADELTA: AN ADAPTIVE LEARNING RATE METHOD https://arxiv.org/pdf/…
2017-08-27T22:24:05Z · 互联网 · 评论(0)
groovy shell 安全
groovy 可以动态执行代码,但是我们也想他在一定的沙箱中,目前有2种方式 1:利用java的 permissions https://www.chrismoos.com/2010/03/24/groovy-scripts-and-jvm-security/ http://www.sdidit.nl/2012/12/groovy-dsl-executing-scripts-in-sandbox.html 2:在编译时动手脚,限制某些类 http://melix.github.io/blog/2015/03/sandboxing.html https://github.com/groovy/…
2017-01-18T11:29:36Z · 编程语言 · 评论(0)
eclipse 插件
eclipse remote editor https://www.vscentrum.be/client/multiplatform/eclipse-remote-editor
2016-11-17T12:00:58Z · 编程语言 · 评论(0)
mac常用软件备忘
iterm2 http://iterm2.com/ brew http://brew.sh/ zsh http://www.zsh.org/ folx http://mac.eltima.com/download-manager.html quicksilver http://qsapp.com/ igetter http://igetter.net/ goagentx https://github.com/ohdarling/GoAgentX gliffy diagrams http://www.gliffy.com/ cheat http://www.cricode.com/3412.h…
2014-11-06T13:36:44Z · 开源软件 · 评论(0)
An operation on a socket could not be performed because the system lacked suffic
现在办公用的windows经常出现IM可以继续聊天,但是浏览器还有新的联网的东西不能连到网络,之前靠重启解决了几次,后来找公司IT,告知我host绑定有问题,就把我host都清空了,也果然正常了。昨晚突然需要vpn回去解决问题,结果又出现这个问题,还好这次遇到了错误提示了: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full 真是喜上眉梢,终于知道大概的错误原因了。 找了下ms的文档发现一篇文章…
2014-02-24T11:00:47Z · 非技术 · 评论(0)
常用js组件
支持语法高亮的代码编辑器 https://github.com/ajaxorg/ace/ jquery tree http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ datatable https://datatables.net/ table editor http://kingkode.com/free-datatables-editor-alternative/
2013-10-01T10:08:59Z · Web前端 · 评论(0)
java method signature
case 'B': _type = T_BYTE; break; case 'C': _type = T_CHAR; break; case 'D': _type = T_DOUBLE; break; case 'F': _type = T_FLOAT; break; case 'I': _type = T_INT; break; case 'J': _type = T_LONG; break; case 'S': _type = T_SHORT; break; case 'Z': _type = T_BOOLEAN; break; case 'V': _type = T_VOID; bre…
2013-08-12T21:07:29Z · 开源软件 · 评论(0)
eclipse classpath太长的问题
https://bugs.eclipse.org/bugs/show_bug.cgi?id=327193 [patch] Launching command line exceeds the process creation command limit on Windows 2种解决方案 1:更换内部相关类 - close Eclipse - rename the *.jar to *.zip - open the zip file and copy the 4 class files from the attachment to org\eclipse\jdt\internal\launc…
2013-07-19T21:53:36Z · 开源软件 · 评论(0)
linux 检测工具
sysstat http://sebastien.godard.pagesperso-orange.fr/index.html The sysstat package contains utilities to monitor system performance and usage activity. Sysstat contains various utilities, common to many commercial Unixes, and tools you can schedule via cron to collect and historize performance and…
2013-07-17T00:52:19Z · 开源软件 · 评论(0)
eclipse显示GC的按钮
同事说idea的一个比较亮的功能是可以手动去GC,然后机器就会不卡了。说eclipse就不行。这个我得为eclipse伸冤,故找eclipse的gc按钮,结果我自己的版本是没有这个按钮的,也许是我自己新用了epf文件导致。 Version: 3.7.1 Build id: M20110909-1335 故goooo了几篇终于搞定了。说下操作步骤: 1:在eclipse的根目录下新建一个plugin_customization.ini文件 2:添加一行org.eclipse.ui/SHOW_MEMORY_MONITOR = true 3:启动eclipse带如下参数eclipse -plugi…
2013-06-18T19:32:52Z · 开源软件 · 评论(0)
各国民谣
宁静温柔的阿尔及利亚摇篮曲:Idir—A Vava inouva http://v.youku.com/v_show/id_XODQ2NTczMDQ=.html 绿野仙踪Mägo de oz超赞民谣风味金属La Rosa de lo http://v.youku.com/v_show/id_XMzc5OTA5NzY=.html 一首空灵清澈令人感动令人着迷的 http://v.youku.com/v_show/id_XMjM4MDYzMjQw.html Comptine D'Un Autre Ete L'Apres Midi 法国电影 天使爱美丽 http://v.youku.com/v_s…
2013-06-12T13:42:55Z · 非技术 · 评论(0)