深度学习各个网络层

todo


Flatten层的作用:将多维向量一维化,即将维度"压平"
flatten层多用在卷积层向全连接层过渡时
Batch Normalization:归一化训练数据,将原始数据减去均值再除以方差


image

https://blog.csdn.net/u011746554/article/details/74393922

数据输入到模型中后要进行归一化处理,否则分类效果很差
利用sklearn中的MinMaxScaler进行数据归一化

LSTM
LSTM的作用:能够进行时间序列的预测

LSTM层数不宜太多
当有好几层LSTM层的时候,前面几层的 return_sequences 要设置为True,否则不会连接到一起

输入数据的shape为(n_samples,timesteps,features)


image

https://github.com/osforscience/deep-learning-ocean#what-s-the-point-of-this-open-source-project
包含各种深度学习资源和论文

posted @ 2025-12-18 16:12  点影成金  阅读(11)  评论(0)    收藏  举报