import scipy.stats as st import matplotlib.pyplot as plt import numpy as np import collections from sklearn.preprocessing import MinMaxScaler import numpy as np import csv import math from pylab import* import matplotlib.mlab as mlab from sklearn.utils import shuffle import math i=0 j=[] data = [] X = [] indicess = [] xback =24 with open(r'D:\error01冬季雨天.csv') as f: reader = csv.reader(f) for row in reader: data.append(row[:])#提取出每一行中的2:14列 data1=[] data = np.array(data) m,n=np.shape(data) for i in range(m): for j in range(n): #print(data[i][j]) data[i][j] = data[i][j].astype('float
Python实现区间预测
最新推荐文章于 2024-04-03 10:17:44 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)