摘要: model = Sequential()# define CNN modelmodel.add(TimeDistributed(Conv2D(...))model.add(TimeDistributed(MaxPooling2D(...)))model.a... 阅读全文
posted @ 2018-10-29 15:39 luoganttcc 阅读(93) 评论(0) 推荐(0) 编辑
摘要: # univariate cnn-lstm examplefrom numpy import arrayfrom keras.models import Sequentialfrom keras.layers import LSTMfrom keras.la... 阅读全文
posted @ 2018-10-29 15:36 luoganttcc 阅读(127) 评论(0) 推荐(0) 编辑
摘要: import kerasfrom keras.models import Sequentialfrom keras.layers import Denseimport numpy as npfrom sklearn.model_selection impor... 阅读全文
posted @ 2018-10-29 11:32 luoganttcc 阅读(93) 评论(0) 推荐(0) 编辑