在TensorFlow中實作文本分類的卷積神經網絡
Github提供了完整的代碼:
https://github.com/dennybritz/cnn-text-classification-tf在這篇文章中,我們将實作一個類似于Kim Yoon的卷積神經網絡語句分類的模型。 本文提出的模型在一系列文本分類任務(如情緒分析)中實作了良好的分類性能,并已成為新的文本分類架構的标準基準。
我假設你已經熟悉了應用于NLP的卷積神經網絡的基礎知識。 如果沒有,我建議先閱讀NLP的了解卷積神經網絡,以獲得必要的背景。
Implementing a CNN for Text Classification in TensorFlow
The full code is available on Github.
In this post we will implement a model similar to Kim Yoon’s Convolutional Neural Networks for Sentence Classification. The model presented in the paper achieves good classification performance across a range of text classification tasks (like Sentiment Analysis) and has since become a standard baseline for new text classification architectures.
I’m assuming that you are already familiar with the basics of Convolutional Neural Networks applied to NLP. If not, I recommend to first read over Understanding Convolutional Neural Networks for NLP to get the necessary background.
原文連結:
http://www.wildml.com/2015/12/implementing-a-cnn-for-text-classification-in-tensorflow/更多教程:
http://www.tensorflownews.com/