项目作者: nudomarinero

项目描述 :
weighted quantiles with Python
高级语言: Python
项目地址: git://github.com/nudomarinero/wquantiles.git
创建时间: 2014-03-02T18:58:45Z
项目社区:https://github.com/nudomarinero/wquantiles

开源协议:MIT License

下载


wquantiles

Build Status
DOI
Pypi

Weighted quantiles with Python, including weighted median.
This library is based on numpy, which is the only dependence.

The main methods are quantile and median. The input of
quantile is a numpy array (data), a numpy array of weights of one
dimension and the value of the quantile (between 0 and 1) to
compute. The weighting is applied along the last axis. The method
median is an alias to quantile(data, weights, 0.5).