資源簡介
深度學習算法實踐源碼
代碼片段和文件信息
#?-*-?coding:utf-8?-*-
import?os
os.environ[‘KERAS_BACKEND‘]?=?“theano“
#?os.environ[‘THEANO_FLAGS‘]?=?“device=cpu“
from?keras.models?import?Sequential
from?keras.layers.core?import?Dense?Activation
from?keras.layers.recurrent?import?LSTM
from?keras.layers.wrappers?import?TimeDistributed?Bidirectional
from?keras.layers?import?FlattenLambdaK
from?keras.layers.embeddings?import?embedding
from?keras.layers.pooling?import?MaxPooling2D?GlobalMaxPooling2DMaxPooling1D
from?keras.preprocessing.text?import?Tokenizer
from?keras.preprocessing.sequence?import?pad_sequences
from?keras.layers?import?MergeDropout
from?keras.datasets?import?imdb
import?numpy?as?np
#?from?keras.utils?import?plot_model
from?keras.utils.visualize_util?import?plot
from?keras.preprocessing?import?sequence
def?text_fea
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-04-20?04:24??2_Chapter\
?????目錄???????????0??2017-04-20?04:24??2_Chapter\DeepTextClf\
?????目錄???????????0??2017-04-20?04:24??2_Chapter\DeepTextClf\algorithm\
?????文件????????6086??2017-04-20?04:24??2_Chapter\DeepTextClf\algorithm\RNN-CNN_feature_extract.py
?????文件???????71891??2017-04-20?04:24??2_Chapter\DeepTextClf\algorithm\text_feature_extract_model1.png
?????文件???????????0??2017-04-20?04:24??2_Chapter\DeepTextClf\algorithm\__init__.py
?????目錄???????????0??2017-04-20?04:24??2_Chapter\DeepTextClf\data\
?????目錄???????????0??2017-04-20?04:24??2_Chapter\DeepTextClf\data\corpus\
?????目錄???????????0??2017-04-20?04:24??2_Chapter\DeepTextClf\data\corpus\reviews\
?????文件????16765967??2017-04-20?04:24??2_Chapter\DeepTextClf\data\corpus\reviews\1_point.txt
?????文件????14183087??2017-04-20?04:24??2_Chapter\DeepTextClf\data\corpus\reviews\5_point.txt
?????目錄???????????0??2017-04-20?04:24??2_Chapter\dialogue\
?????目錄???????????0??2017-04-20?04:24??2_Chapter\dialogue\提取和選擇\
?????文件???????12292??2017-04-20?04:24??2_Chapter\dialogue\提取和選擇\answer_find_out.py
?????目錄???????????0??2017-04-20?04:24??2_Chapter\dialogue\爬取\
?????文件???????38276??2017-04-20?04:24??2_Chapter\dialogue\爬取\fromSE.py
?????目錄???????????0??2017-04-20?04:24??2_Chapter\dialogue\相似提取答案\
?????文件????????4433??2017-04-20?04:24??2_Chapter\dialogue\相似提取答案\Compress.py
?????目錄???????????0??2017-04-20?04:24??2_Chapter\dialogue\蘊含\
?????文件????????8415??2017-04-20?04:24??2_Chapter\dialogue\蘊含\textual_entailment.py
?????目錄???????????0??2017-04-20?04:24??2_Chapter\mail\
?????文件????????1789??2017-04-20?04:24??2_Chapter\mail\mail_classily.py
?????文件????????4660??2017-04-20?04:24??2_Chapter\mail\stopwords.txt
?????文件?????????452??2017-04-20?04:24??2_Chapter\mail\text_preprocess.py
?????目錄???????????0??2017-04-20?04:24??2_Chapter\sentiment\
?????目錄???????????0??2017-04-20?04:24??2_Chapter\sentiment\LSTM\
?????文件????????5410??2017-04-20?04:24??2_Chapter\sentiment\LSTM\extract_feature.py
?????文件?????????931??2017-04-20?04:24??2_Chapter\sentiment\LSTM\lstm_model.py
?????文件?????????340??2017-04-20?04:24??2_Chapter\sentiment\LSTM\test_lstm.py
?????目錄???????????0??2017-04-20?04:24??2_Chapter\sentiment\規則\
?????文件???????18302??2017-04-20?04:24??2_Chapter\sentiment\規則\sentiment_kb.py
............此處省略63個文件信息
- 上一篇:讀取json文件寫入excel
- 下一篇:基于MTCNN實現制作臉部VOC格式數據集
評論
共有 條評論