python
文章平均质量分 51
锦堇年
NLP学弱
展开
-
Theano(1) 安装(Window64)及教程
一Theano的安装二教程翻译一、Theano的安装 环境:Windows7 64位 + Python2.7 依赖:Numpy、Scipy包 正文 : 1>Theano的编译安装需要上面提到的两个包,还需要g++的编译器,不幸的是一般我们只有GCC。解决办法是安装Minwg,注意要64位的,否则不兼容。 下载地址:https://sourceforge.net/p原创 2016-03-20 22:07:18 · 611 阅读 · 0 评论 -
Theano(3) 通用RNN
#coding=utf-8import theanoimport numpy as npfrom theano import tensor as Tfrom collections import OrderedDictclass RNN(object): '''neural net model ''' def __init__(self,ni,nh,nc,lr=0.05,ba原创 2016-03-22 21:59:04 · 1464 阅读 · 0 评论 -
Theano(4) LSTM
#coding=utf-8import six.moves.cPickle as picklefrom collections import OrderedDictimport sysimport timeimport numpy as npimport theanofrom theano import configimport theano.tensor as Tfrom thea原创 2016-03-23 16:12:55 · 1011 阅读 · 0 评论 -
Theano(2) RNN训练词向量
一、项目简介项目 Recurrent Neural Networks with Word Embeddings 教程地址:http://deeplearning.net/tutorial/rnnslu.html Task The Slot-Filling (Spoken Language Understanding)给句子中每个word分配标签,是一个分类问题。 Dataset 数据集是原创 2016-03-22 17:16:12 · 3760 阅读 · 0 评论