随笔分类 - Python
摘要:Regular Expression Patterns Following lists the regular expression syntax that is available in Python. | Pattern | Description | | | | | ^ | match beg
阅读全文
摘要:Graph Structure Graph Definition theano's symbolic mathematical computation, which is composed of: Apply node : the application of an operator to some
阅读全文
摘要:broadcasting Theano vs. Numpy broadcast mechanism allows a scalar may be added to a matrix, a vector to a matrix or a scalar to a vecotor. Examples an
阅读全文
摘要:selected from "Theano Doc" Optimizing performance Minimizing Scan Usage performan as much of the computation as possible outside of . This may have th
阅读全文
摘要:theano 中的一个函数 ; Function: Image Example Input Parameter Return Applications used form calculating ; Codes
阅读全文
摘要:转载 - Recurrent Neural Network Tutorial, Part 4 – Implementing a GRU/LSTM RNN with Python and Theano The code for this post is on Github. This is part 4, the last part of the Recurrent Neural Network T...
阅读全文
摘要:转载 - Recurrent Neural Networks Tutorial, Part 3 – Backpropagation Through Time and Vanishing Gradients 本文是 RNN入门教程 的第三部分. In the previous part of the
阅读全文
摘要:转载 - Recurrent Neural Networks Tutorial, Part 2 – Implementing a RNN with Python, Numpy and Theano 本文是RNN教程的第二部分,第一部分教程在这里. 对应的样板代码在 Github上面。 在这部分内容中
阅读全文
摘要:转载: Python两个内置函数——locals 和globals (学习笔记) Python两个内置函数locals 和globals, 这两个函数主要提供,基于字典的访问局部和全局变量的方式。在理解这两个函数时,首先来理解一下python中的名字空间概念。 Python使用叫做名字空间的东西来记录变量的轨迹。名字空间只是一个字典,它的键字就是变量名,字典的值就是那些变量的值。实际上,名字空间可...
阅读全文
摘要:博客摘自:Deep learning 第二篇 婴儿学步 Theano如何做算数? 输出: 5.0 两个矩阵相加: 到这里,手册里面出现了3个专业名词: scalars ----标量:只有大小,没有方向。比如欧几里几何中的两点的距离。matrix ----矩阵:一种数学标记方法,通常由行和列组成.ve
阅读全文
摘要:Lambda函数也叫匿名函数,即,函数没有具体的名称。先看一个例子:def f(x): return x**2 print f(4) Python中使用lambda的话,写成这样:g = lambda x : x**2 print g(4) 涵义 Lambda语句中,冒号前是参数,可以有多个,用逗号隔开,冒号右边的是返回值。lambda语句构建的是一个函数对象,举例:g = lambda...
阅读全文