一、常用的统计量: 均值mean()、中位数median()、众数mode()、分位数(上侧分位数、下侧分位数、四分位间距) ————四分位间距的求法:df[df<上界][df>下界] (上界:上侧分位数+K*四分位间距; 下界:上侧分位数+K*四分位间距) k指的是允许的形变 方差var(), 偏 ...
分类:
其他好文 时间:
2019-03-13 19:53:40
阅读次数:
214
leetcode4 此题归在二分法中: 大概思想:将两个数组分别分为两个部分,两者的数值较小的数字,就是合并后数组的前半部分 难点在:找到第一个数组的位置i,则第二数组的位置j = (m+n +1)/2 - i; 此后,由i,j找到中位数,如果m+n为奇数,则max_left即为所求,否则:(max ...
分类:
其他好文 时间:
2019-03-09 01:04:28
阅读次数:
199
原文链接 https://www.cnblogs.com/cly none/p/SRM704Div1B.html 给出$n$和模数$P$。$q$次询问,每次给出一个$[0,p 1]$范围内的整数$v$,求有多少长度为$n$的序列$\{x\}$满足$x_i$都是$[0,p 1]$范围内的整数且$\pr ...
分类:
其他好文 时间:
2019-02-20 19:55:21
阅读次数:
177
samples 总数 如果模拟10个用户,每个用户迭代10次,那么这里显示100 median 50%用户的响应时间 90% Line 90%用户的响应时间 95% Line 95%用户的响应时间 99% Line 99%用户的响应时间 Min 最小响应时间 MAX 最大响应时间 Erro% 错误率 ...
分类:
其他好文 时间:
2019-02-20 13:22:37
阅读次数:
415
https://pintia.cn/problem-sets/994805342720868352/problems/994805466364755968 Given an increasing sequence S of N integers, the median is the number a ...
分类:
其他好文 时间:
2019-02-12 21:26:04
阅读次数:
186
There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh ...
分类:
其他好文 时间:
2019-02-06 13:16:54
阅读次数:
171
Description For this problem, you will write a program that reads in a sequence of 32-bit signed integers. After each odd-indexed value is read, outpu ...
分类:
其他好文 时间:
2019-01-30 07:31:02
阅读次数:
152
1057 Stack (30 分) Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operati ...
分类:
其他好文 时间:
2019-01-27 19:03:31
阅读次数:
242
There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh ...
分类:
其他好文 时间:
2019-01-22 12:22:34
阅读次数:
165
1029 Median (25 分) Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1 = { 11 ...
分类:
其他好文 时间:
2019-01-21 13:51:51
阅读次数:
157