跳转到主要内容

Python的突破检测

项目描述

Breakout Python

:fire: BreakoutDetection for Python

了解它是如何工作的

Build Status

安装

运行

pip install breakout-detection

入门

检测时间序列中的突破

from breakout import breakout

series = [100, 150, 136, ...]
breakout(series)

选项

传递选项 - 下面的默认值

breakout(
    series,
    min_size=30,        # minimum observations between breakouts
    method='multi',     # multi or amoc (at most one change)
    degree=1,           # degree of the penalization polynomial (multi only)
    beta=0.008,         # penalization term (multi only)
    percent=None,       # minimum percent change in goodness of fit statistic (multi only)
    alpha=2,            # weight of the distance between observations (amoc only)
    exact=True          # exact or approximate median (amoc only)
)

致谢

此库使用了BreakoutDetection R包中的C++代码,并在此许可证下提供。

参考文献

历史

查看变更日志

贡献

鼓励每个人帮助改进此项目。以下是一些您可以提供帮助的方式

开始开发

git clone https://github.com/ankane/breakout-python.git
cd breakout-python
pip install -r requirements.txt
python setup.py install
pytest

项目详情


下载文件

下载您平台上的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

breakout_detection-0.2.0.tar.gz (15.3 kB 查看哈希值)

上传时间:

由以下支持