首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏图像处理与模式识别研究所

    演示完全定制小提琴情节含对小提琴艺术家的风格进行了修改。

    , medians, quartile3 = np.percentile(data, [25, 50, 75], axis=1) whiskers = np.array([ adjacent_values (sorted_array, q1, q3) for sorted_array, q1, q3 in zip(data, quartile1, quartile3)]) whiskersMin, , quartile3, color='pink', linestyle='-', lw=5) ax2.vlines(inds, whiskersMin, whiskersMax, color='pink (sorted_array, q1, q3) for sorted_array, q1, q3 in zip(data, quartile1, quartile3)]) whiskersMin, , quartile3, color='pink', linestyle='-', lw=5) ax2.vlines(inds, whiskersMin, whiskersMax, color='pink

    29430编辑于 2022-05-28
  • 来自专栏GEE数据专栏,GEE学习专栏,GEE错误集等专栏

    Google Earth Engine——美国1950-2099年降水、气温含预测数据集(1km)分辨率

    25th quartile of the precipitation at surface; includes both liquid and solid phases from all types 75th quartile of the precipitation at surface; includes both liquid and solid phases from all types 25th quartile the daily-minimum near-surface air temperature 243.28 310.06 K tasmin_median Median of the daily-minimum near-surface air temperature 246.87 311.12 K tasmin_quartile75 75th quartile of the of the daily-maximum near-surface air temperature 257.89 326.28 K tasmax_quartile75 75th quartile of

    34910编辑于 2024-02-02
  • 来自专栏数据小魔方

    箱线图(boxplot)

    当我在某一单元格中输入=QUARTILE($A$1:$A$9的时候,软件会自动提示五个四分位数的参数设置。 ? 最小值=QUARTILE($A$1:$A$9,0) 上四分位数=QUARTILE($A$1:$A$9,1) 中位数=QUARTILE($A$1:$A$9,2) 下四分位数=QUARTILE($A$1: $A$9,3) 最大值=QUARTILE($A$1:$A$9,4) ?

    2.4K80发布于 2018-04-10
  • 来自专栏GEE数据专栏,GEE学习专栏,GEE错误集等专栏

    GEE(Google Earth Engine)——使用 NASA NEX-DCP30 数据集创建投影的可视化(美国加利福尼亚州圣华金流域的气候)

    ', 'tasmax_quartile75']) .filterDate('2010-01-01', '2100-01-01'); //设置一个变量来作为时间的筛选这里从7月开始 var january ', 'tasmax_quartile75'], ['rcp' + scenario + '_tasmax_median', 'rcp' + scenario + '_tasmax_quartile25 ', 'rcp' + scenario + '_tasmax_quartile75']); }; //一个波段和另一个波段的掩膜 var combined = labelBands(rcp26 title: 'Daily Maximum Near-Surface Air Temperature [Celsius]' }, interval: { rcp26_tasmax_quartile : {'style':'area'}, rcp85_tasmax_quartile: {'style':'area'}, }, lineWidth: 1, curveType:'function

    34610编辑于 2024-02-01
  • 来自专栏往期博文

    【数据挖掘】任务2:医学数据库MIMIC-III数据处理

    = a['PO2'].describe()['25%'] third_quartile = a['PO2'].describe()['75%'] iqr = third_quartile - first_quartile b['PO2离群点处理后'] = a[(a['PO2'] > (first_quartile - 1.5 * iqr)) & (a['PO2'] < (third_quartile = a['PCO2'].describe()['25%'] third_quartile = a['PCO2'].describe()['75%'] iqr = third_quartile - first_quartile = a['PO2'].describe()['25%'] third_quartile = a['PO2'].describe()['75%'] iqr = third_quartile - first_quartile = a['PCO2'].describe()['25%'] third_quartile = a['PCO2'].describe()['75%'] iqr = third_quartile - first_quartile

    2.5K20编辑于 2022-09-01
  • 来自专栏数据科学与人工智能

    客户分群分析

    monetary','frequency','recency'] # 变量类型转换 rfm['recency'] = rfm['recency'].astype(int) # 变量分组 rfm['r_quartile '] = pd.qcut(rfm['recency'], 2, ['1','2']) rfm['f_quartile'] = pd.qcut(rfm['frequency'], 2, ['2','1'] ) rfm['m_quartile'] = pd.qcut(rfm['monetary'], 2, ['2','1']) # RFM评分 rfm['RFM_Score'] = rfm.r_quartile.astype (str)+ rfm.f_quartile.astype(str) + rfm.m_quartile.astype(str) print(rfm.head()) # 客户分群的分布情况 rfm.reset_index

    1.2K40发布于 2020-04-22
  • 来自专栏机器学习与统计学

    Duke@coursera 数据分析与统计推断 unit1 part2 introduction to data

    measures of spread ‣ range: (max - min) ‣ variance ‣ standard deviation ‣ inter-quartile range ? interquartile range range of the middle 50% of the data,distance between the first quartile (25th percentile ) and third quartile (75thpercentile) IQR=Q3-Q1 robust statistics: robust statistics ‣ define robust

    62310发布于 2019-04-10
  • 来自专栏Python编程 pyqt matplotlib

    matplotlib 小提琴图(violin plot)

    parts['bodies']: pc.set_facecolor('#D43F3A') pc.set_edgecolor('black') pc.set_alpha(1) quartile1 , medians, quartile3 = np.percentile(data, [25, 50, 75], axis=1) whiskers = np.array([ adjacent_values (sorted_array, q1, q3) for sorted_array, q1, q3 in zip(data, quartile1, quartile3)]) whiskersMin, medians) + 1) ax2.scatter(inds, medians, marker='o', color='white', s=30, zorder=3) ax2.vlines(inds, quartile1 , quartile3, color='k', linestyle='-', lw=5) ax2.vlines(inds, whiskersMin, whiskersMax, color='k', linestyle

    14K80发布于 2019-08-14
  • 来自专栏拓端tecdat

    R语言股票市场指数:ARMA-GARCH模型和对数收益率数据探索性分析|附代码数据

    Quartile  -0.001404  -0.005017 ## 3.  Quartile 2.063000e+08 2.132100e+08 1.961850e+08 1.633400e+08 ## 3.  Quartile 1.458775e+08 1.107150e+08 9.488000e+07 7.283000e+07 ## 3.  Quartile  -0.112190  -0.119086 ## 3.  Quartile    -0.003991 ## 3. 

    1K00编辑于 2023-04-22
  • 来自专栏机器学习/数据可视化

    图解Pandas的数据分类

    array([1, 2, 1, 1, 3, 3, 1, 2, 3, 3], dtype=int8) 统计groupby来进行汇总统计: bins_2 = pd.Series(bins_2, name="quartile ") # 取名为quartile bins_2 0 Q2 1 Q3 2 Q2 3 Q2 4 Q4 .. 95 Q4 96 Q3 97 Q1 98 Q3 99 Q3 Name: quartile, Length: 100, dtype: category Categories (4, object): ['Q1' < 'Q2 results = pd.Series(data1).groupby(bins_2).agg(["count","min","max"]).reset_index() results results["quartile "] # quartile列保持的原始分类信息 0 Q1 1 Q2 2 Q3 3 Q4 Name: quartile, dtype: category Categories (4

    47720编辑于 2023-08-23
  • 来自专栏机器学习/数据可视化

    Pandas中的数据分类

    array([1, 2, 1, 1, 3, 3, 1, 2, 3, 3], dtype=int8) 统计groupby来进行汇总统计: bins\_2 = pd.Series(bins\_2, name="quartile ") # 取名为quartile bins\_2 0 Q2 1 Q3 2 Q2 3 Q2 4 Q4 .. 95 Q4 96 Q3 97 Q1 98 Q3 99 Q3 Name: quartile, Length: 100, dtype: category Categories (4, object): ['Q1' < agg(["count","min","max"]).reset\_index() results [008i3skNgy1gu1at3y12oj60ng09sdgh02.jpg] results["quartile "] # quartile列保持的原始分类信息 0 Q1 1 Q2 2 Q3 3 Q4 Name: quartile, dtype: category Categories (4

    10.1K20发布于 2021-09-06
  • 来自专栏小明的数据分析笔记本

    数学建模中离散变量的处理——笔记二

    : df.Fare = df.Fare.fillna(-0.5) bins = (-1,0,8,15,31,1000) group_names = ['Unknown','1_quartile ','2_quartile','3_quartile','4_quartile'] categories = pd.cut(df.Fare,bins,labels=group_names)

    1.3K10发布于 2020-03-03
  • 来自专栏拓端tecdat

    R语言股票市场指数:ARMA-GARCH模型和对数收益率数据探索性分析|附代码数据

    Quartile  -0.001404  -0.005017 ## 3.  Quartile 2.063000e+08 2.132100e+08 1.961850e+08 1.633400e+08 ## 3.  Quartile 1.458775e+08 1.107150e+08 9.488000e+07 7.283000e+07 ## 3.  Quartile  -0.112190  -0.119086 ## 3.  Quartile    -0.003991 ## 3. 

    1.3K00编辑于 2023-02-21
  • 来自专栏拓端tecdat

    R语言股票市场指数:ARMA-GARCH模型和对数收益率数据探索性分析

    Quartile -0.001404 -0.005017 ## 3. Quartile 2.063000e+08 2.132100e+08 1.961850e+08 1.633400e+08 ## 3. Quartile 1.458775e+08 1.107150e+08 9.488000e+07 7.283000e+07 ## 3. Quartile -0.112190 -0.119086 ## 3. Quartile -0.003991 ## 3.

    1.9K20发布于 2021-01-28
  • 来自专栏拓端tecdat

    R语言股票市场指数:ARMA-GARCH模型和对数收益率数据探索性分析|附代码数据

    Quartile  -0.001404  -0.005017## 3.  Quartile 2.063000e+08 2.132100e+08 1.961850e+08 1.633400e+08## 3.  Quartile 1.458775e+08 1.107150e+08 9.488000e+07 7.283000e+07## 3.  Quartile  -0.112190  -0.119086## 3.  Quartile    -0.003991## 3. 

    90510编辑于 2022-11-01
  • 来自专栏流柯技术学院

    JMeter专题系列(七)聚合报告之 90% Line

    第25百分位数又称第一个四分位数(First Quartile),用Q1表示;第50百分位数又称第二个四分位数(Second Quartile),用Q2表示;第75百分位数又称第三个四分位数(Third  Quartile),用Q3表示。

    1.4K40发布于 2018-08-30
  • 来自专栏我是攻城师

    统计学里面的百分位数是什么意思

    第25百分位数又称第一个四分位数(First Quartile),用Q1表示;第50百分位数又称第二个四分位数(Second Quartile),用Q2表示;第75百分位数又称第三个四分位数(Third Quartile),用Q3表示。

    21.2K70发布于 2018-05-14
  • 来自专栏DeepHub IMBA

    利用关联规则实现推荐算法

    def outlier_thresholds(dataframe, variable): quartile1 = dataframe[variable].quantile(0.01) quartile3 = dataframe[variable].quantile(0.99) interquantile_range = quartile3 - quartile1 up_limit = quartile3 + 1.5 * interquantile_range low_limit = quartile1 - 1.5 * interquantile_range return

    1K30编辑于 2021-12-28
  • 来自专栏数据STUDIO

    全自动机器学习 AutoML 高效预测时间序列

    np.inf], labels=[1, 2, 3, 4]) # 提取测试期的预测四分位数 forecasted_quartiles = forecast.iloc[-len(test_df):]['quartile '].astype(int) # 将测试集中的实际日值归类为四分位数 test_df['quartile'] = pd.cut(test_df['y'], bins=[-np.inf] + list( quartiles) + [np.inf], labels=[1, 2, 3, 4]) actual_test_quartiles = test_df['quartile'].astype(int) # 定义一个函数,将每个值划分为四分位数 def classify_into_quartile(value): if value < quartiles[0]: return 1 ) energy_levels_test = y_test.apply(classify_into_quartile) 在特征化表格数据上训练和评估GBC模型 使用特征化表格数据集,我们可以应用任何有监督的

    70410编辑于 2024-06-04
  • 来自专栏Hank’s Blog

    统计学(一)

    分位数 使用QUARTILE函数算出 第一分位数:25%分位数 第二分位数:中位数 第三分位数:75%分位数

    40020发布于 2020-09-16
领券