A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2015-03-03 20:20:36
阅读次数:
129
SVM materialThose material work for svm beginner, material concerned with newly and learning theory excluded. if you are willing to study in a deep wa...
分类:
其他好文 时间:
2015-03-03 09:53:33
阅读次数:
112
http://nikhilbuduma.com/2015/01/11/a-deep-dive-into-recurrent-neural-networks/按照这里的介绍,目前比较火的cnn是feed-forward的网络,而rnn是back projections。lstm则是rnn的一种特例。r...
分类:
其他好文 时间:
2015-03-03 09:51:32
阅读次数:
167
1.题目描述:点击打开链接
2.解题思路:本题让我长见识了。也学到了很多新的知识:LCA,多级祖先算法。如果只是单纯地将无根树转化为有根树,找到u,v的中点,再用BFS计算中线上结点的个数,那么最终会导致TLE。本题的高效算法如下:
首先求出以1为根的树的所有结点的总个数,保存在num数组中,再利用LCA算法求出u,v的公共祖先,设为LCA。找到u,v结点的中点mid.此时规定deep...
分类:
其他好文 时间:
2015-03-02 09:37:41
阅读次数:
120
传送门:A and B and Lecture Rooms题意:给定一棵树,每次询问到达点u,v距离相等的点有多少个。分析:按情况考虑:1.abs(deep[u]-deep[v])%2==1时,必定不存在到达u,v距离相等的点。2.如果deep[u]==deep[v]时,ans=n-num[lca(...
分类:
其他好文 时间:
2015-03-01 01:30:00
阅读次数:
204
节选自语义分析的一些方法(二),以后会不断补充。——by wepon
结合文献『Deep Learning for Computer Vision』, 以下讲讲卷积神经网络的一些注意点和问题。
激励函数,要选择非线性函数,譬如tang,sigmoid,rectified liner。在CNN里,relu用得比较多,原因在于:(1)简化BP计算;(2)使学习更快。(3)避免饱和问题(sa...
分类:
其他好文 时间:
2015-02-27 20:17:55
阅读次数:
372
How to build and run your first deep learning network Step-by-step instruction on training your own neural network.
分类:
Web程序 时间:
2015-02-26 20:00:25
阅读次数:
195
??
练习2.27
又是修改程序的题目,要求我们写出的deep-reverse函数要将表中的元素也反转过来,这其中应该要用到递归来实现吧。
(define (deep-reverse tree)
(cond ((null? tree) ‘())
((not (pair? tree)) tree)
(else (r...
分类:
其他好文 时间:
2015-02-22 14:38:12
阅读次数:
117
(15) 也是 DIV1 500题意是给定 一个无向图 删去一条边以后 可不可以是完全二叉树。细节点很多,开始做法居然求到桥去了,最近强联通写傻了。最多1024-1个点 1024-1条边枚举所以: 先枚举要删去的边,然后进行判断。判断是否是一颗完全二叉树的话 要一个标记deep深度 max d...
分类:
其他好文 时间:
2015-02-19 20:42:55
阅读次数:
146
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a deep copy of the list.
解题思路:
思路一:创建链表拷贝,同时使用一个Map存...
分类:
其他好文 时间:
2015-02-11 14:42:49
阅读次数:
190