
LSTM
宏阳能
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
svm
# -*- coding: utf-8 -*- """ Created on Sun Nov 10 15:48:52 2019 @author: hongyangneng """ from sklearn.model_selection import train_test_split from sklearn.preprocessing import LabelBinarizer from sklearn.preprocessing import StandardScaler from sklearn原创 2020-08-25 00:15:40 · 187 阅读 · 0 评论 -
LSTMCLASS
import tensorflow as tf class LSTM(object): """docstring for LSTM""" def __init__(self, n_batch, n_step, n_input, n_output, n_cell, lr): super(LSTM, self).__init__() self.batch = n_batch self.step = n_step self.n_原创 2020-08-25 00:14:55 · 280 阅读 · 0 评论 -
LSTM程序
import matplotlib.pyplot as plt # 支持中文 plt.rcParams['font.sans-serif'] = ['SimHei'] # 用来正常显示中文标签 plt.rcParams['axes.unicode_minus'] = False # 用来正常显示负号 fig, ax1 = plt.subplots() #ax2 = ax1.twinx() # 按一定间隔显示实现方法 # ax2.plot(200 * np.arange(len(fig_accura原创 2020-08-25 00:13:37 · 244 阅读 · 0 评论 -
LSTM程序
# -*- coding: utf-8 -*- """ Created on Tue Feb 18 13:44:21 2020 @author: hongyangneng """ from sklearn.model_selection import train_test_split from sklearn.preprocessing import LabelBinarizer from sklearn.preprocessing import StandardScaler from sklearn原创 2020-08-25 00:12:15 · 592 阅读 · 0 评论