准备 Keras的IMDB数据集,包含一个词集和对应的情感标签 import pandas as pd from keras.preprocessing import sequence from keras.models import Sequential from keras.layers import Dense,Dropout,Activation from keras.layers import Embedding from keras.layers import Conv1D,Glob…