上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页
该文被密码保护。 阅读全文
posted @ 2020-08-06 16:56 The-Chosen-One 阅读(4) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-08-05 17:58 The-Chosen-One 阅读(3) 评论(0) 推荐(0)
摘要: #WSS未知异常预测第一种算法实现——kmeans改进版聚类算法import numpy as npfrom scipy.spatial.distance import cdistfrom sklearn.cluster import KMeansimport pandas as pdclass k 阅读全文
posted @ 2020-08-04 20:49 The-Chosen-One 阅读(491) 评论(0) 推荐(0)
摘要: 三种方式绘制箱线图#第一种:直接使用自带的箱线图函数import pandas as pdimport matplotlib.pyplot as pltdata=pd.read_excel("finaldata.xlsx")plt.rcParams["font.sans-serif"]=["SimH 阅读全文
posted @ 2020-08-04 20:47 The-Chosen-One 阅读(9651) 评论(0) 推荐(0)
摘要: import matplotlib.pyplot as pltplt.rcParams["font.sans-serif"]=["SimHei"]#输出图像的标题可以为中文正常输出plt.rcParams["axes.unicode_minus"]=False #可以正常输出图线里的负号name_l 阅读全文
posted @ 2020-08-02 17:26 The-Chosen-One 阅读(5393) 评论(0) 推荐(0)
摘要: 1.np.where语句可以使用import numpy as npa=np.array([[1,2,3], [1,2,1],[1,1,1]])print(a)b=np.array([1,2,1])print(b)for i in range(len(a)): if np.where((a[i,:] 阅读全文
posted @ 2020-07-31 15:49 The-Chosen-One 阅读(246) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-07-31 15:20 The-Chosen-One 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-07-31 15:18 The-Chosen-One 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-07-30 16:28 The-Chosen-One 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-07-30 15:54 The-Chosen-One 阅读(0) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页