cannot restore segment prot after reloc: Permission denied Table of Contents 1. 错误信息 2. 解决方法 1 错误信息 $lsnrctl start lsnrctl: error while loading shared ...
分类:
其他好文 时间:
2019-08-10 09:53:37
阅读次数:
85
Python常用的数据处理的库有五个:Pandas,SciPy,Numpy,Sklearn,Matplotlib 1.NumPy科学计算库 NumPy(Numerical Python) 是 Python 语言的一个扩展程序库,支持大量的维度数组与矩阵运算,此外也针对数组运算提供大量的数学函数库。 ...
分类:
编程语言 时间:
2019-07-30 12:42:00
阅读次数:
114
生成类似于‘#000000’这样的colorname,可以应用到plot或者scatter的画图函数中,作为color的参数 颜色结果图如下: 不同的name名字表示不同的颜色 ...
分类:
编程语言 时间:
2019-07-29 14:26:42
阅读次数:
92
K临近分类是一种监督式的分类方法,首先根据已标记的数据对模型进行训练,根据模型对新的数据点进行预测,预测新数据的标签(label),也就是该数据所属的分类。 一,KNeighborsClassifier函数 使用KNeighborsClassifier创建K临近分类器: 参数注释: 1,n_neig ...
分类:
其他好文 时间:
2019-07-28 19:37:49
阅读次数:
386
y = groupall.values[:, 2:] x = range(np.shape(y)[1]) plt.plot(x, y[0], "b.") x2 = np.array(x).reshape(-1,1) y2 = np.array(y[0]).reshape(-1,1) plt.plot... ...
分类:
其他好文 时间:
2019-07-27 23:51:38
阅读次数:
126
pandas 21 Series和Dataframe的画图方法 前言 在pandas中,无论是series还是dataframe都内置了.plot()方法,可以结合plt.show()进行很方便的画图。 Series.plot() 和 Dataframe.plot()参数 data : Series ...
分类:
其他好文 时间:
2019-07-26 21:34:40
阅读次数:
149
1 import matplotlib.pyplot as plt 2 import numpy as np 3 4 x = np.linspace(-3, 3, 50) 5 y1 = 2 * x + 1 6 y2 = x ** 2 7 8 plt.figure() 9 l1, = plt.plot... ...
分类:
其他好文 时间:
2019-07-25 21:48:48
阅读次数:
109
一.输入具体数 二.分割画布 三.plt.plot(x,y,format_string,**kwargs) x:X轴数据,列表 、数组 (可选: 如果没有就是y值对应索引) y:Y轴数据,列表、数组 format_string:控制曲线的格式字符串,(可选) **kwargs:第二组或更多t(x,y ...
分类:
其他好文 时间:
2019-07-18 15:14:38
阅读次数:
135
必备数据包“Rmisc” 先准备好需要绘入的图像,以比如p1、p2表示, multiplot(p1, p2) 如果插入图像多,p1、p2、p3、p4,则需要规定图像排列顺序。 multiplot(p1, p2, p3, p4, cols=2) ...
分类:
编程语言 时间:
2019-07-16 10:46:45
阅读次数:
301