资源简介
深度学习算法实践源码
代码片段和文件信息
# -*- 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格式数据集
评论
共有 条评论