1.The way to calculate the slope: the covariance of x and y divided by the variance of x from numpy import cov slope_density = cov(wine_quality["quali ...
分类:
其他好文 时间:
2016-12-02 07:58:34
阅读次数:
167
1. Get the r value and the p value between the dataset: r_fta_pts,p_value = pearsonr(nba_stats["pts"],nba_stats["fta"]) r_stl_pf,p_value = pearsonr(nb ...
分类:
其他好文 时间:
2016-12-01 07:37:55
阅读次数:
175
1. Add a value to each element in a list: degrees_zero = [f + 459.67 for f in fahrenheit_degrees] 2. Assign the index of a list into the list: survey_ ...
分类:
其他好文 时间:
2016-11-30 07:40:16
阅读次数:
169
1、Linear Algebra (线性代数) 和 Statistics (统计学) 是最重要和不可缺少的。 这代表了Machine Learning中最主流的两大类方法的基础。一种是以研究函数和变换为重点的代数方法,比如Dimension reduction,feature extraction, ...
分类:
其他好文 时间:
2016-11-26 17:17:54
阅读次数:
200
简介 Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。 输出信息含义 执行netstat后,其输出结果为 从整体上看,netstat的 ...
分类:
Web程序 时间:
2016-11-25 12:33:06
阅读次数:
212
vmstat是Virtual Meomory Statistics(虚拟内存统计)的缩写,可对操作系统的虚拟内存、进程、CPU活动进行监控。他是对系统的整体情况进行统计,不足之处是无法对某个进程进行深入分析。vmstat 工具提供了一种低开销的系统性能观察方式。因为 vmstat 本身就是低开销工具 ...
分类:
其他好文 时间:
2016-11-24 15:19:07
阅读次数:
145
阅读目录 1. Fiddler 抓包简介 1). 字段说明 2). Statistics 请求的性能数据分析 3). Inspectors 查看数据内容 4). AutoResponder 允许拦截制定规则的请求 5). Filters 请求过滤规则 6). Timeline 请求响应时间 2. F ...
分类:
其他好文 时间:
2016-11-22 20:23:22
阅读次数:
248
虽然经常用这个命令,但总是对其中的参数作用不太清楚,记录下 what are functions of netstat? netstat - Print network connections, routing tables, interface statistics, masquerade con ...
分类:
Web程序 时间:
2016-11-21 11:15:34
阅读次数:
202
frompandasimportSeries,DataFrameimportpandasaspdimportnumpyasnpimportosimportsysreload(sys)sys.setdefultencoding(‘utf-8‘)file1=pd.read_excel(‘F:/dataanalysis/statistics/PelicanStores.xlsx‘)Python加载excel报错:IndexError:listindexoutofrange原因是PelicanStor..
分类:
编程语言 时间:
2016-11-20 16:26:18
阅读次数:
313
在使用SET STATISTICS IO ON语句统计I/O时候,我们会看到类似下面的结果: 扫描计数 1,逻辑读取 2 次,物理读取 0 次,预读 0 次,lob 逻辑读取 0 次,lob 物理读取 0 次,lob 预读 0 次。 那么它们代表什么呢? 预读:用于估计信息,去硬盘读取数据到缓存。 ...
分类:
其他好文 时间:
2016-11-10 19:26:27
阅读次数:
222