![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python数据处理
文章平均质量分 97
大风起兮d
这个作者很懒,什么都没留下…
展开
-
小波包变换/能量特征提取/结果图绘制-python代码
1. 小波外部包下载要下载两个包:PyWavelets和Matplotlib(要运行PyWavelets的所有测试,您还需要安装Matplotlib软件包。)下载方法:pip install PyWaveletspip install Matplotlib相关链接:PyWavelets官网:里面有很多的API文档,有小波(小波家族,内置小波等),离散小波变换,逆小波变...原创 2019-11-07 15:25:40 · 17823 阅读 · 9 评论 -
多层LSTM神经网络),出现ValueError: Input 0 is incompatible with layer lstm_21: expected ndim=3, found错误
下面是LSTM模型,运行后出现ValueError: Input 0 is incompatible with layer lstm_21: expected ndim=3, found错误model = Sequential()model.add(LSTM(50, activation='tanh',input_shape=(X_train.shape[1],X_train.shape[2]))...原创 2018-04-23 16:00:18 · 60021 阅读 · 6 评论