用于深度学习网络的单词嵌入层
嵌入层映射到向量中的Word Indices。
使用一个词嵌入层深度学习长short-term memory (LSTM) network. An LSTM network is a type of recurrent neural network (RNN) that can learn long-term dependencies between time steps of sequence data. A word embedding layer maps a sequence of word indices to embedding vectors and learns the word embedding during training.
This layer requires Deep Learning Toolbox™.
创建一个单词嵌入层,并指定嵌入的维度和词汇量大小。层
= wordEmbeddingLayer(尺寸
,numWords
)
sets optionalpropertiesusing one or more name-value pairs. Enclose each property name in single quotes.层
= wordEmbeddingLayer(尺寸
,numWords
,名称,价值
)
[1] Glorot,Xavier和Yoshua Bengio。“了解训练深馈神经网络的难度。”在第十三国际人工智能和统计国际会议的诉讼程序, pp. 249-256. 2010.
[2] He, Kaiming, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. "Delving deep into rectifiers: Surpassing human-level performance on imagenet classification." InIEEE计算机愿景国际会议的诉讼程序, pp. 1026-1034. 2015.
[3]萨克斯,安德鲁·M。詹姆斯·l·麦克勒兰德和Surya Ganguli. "Exact solutions to the nonlinear dynamics of learning in deep linear neural networks."arXiv preprint arXiv:1312.6120(2013).
doc2sequence.
|fasttextwordembeddings.
|令人畏缩的鳕文
|trainWordEmbedding
|Word2vec.
|wordEncoding
|lstmlayer.
(Deep Learning Toolbox)|sequenceInputLayer
(Deep Learning Toolbox)|Trainnetwork.
(Deep Learning Toolbox)