时间序列中的变点检测
changepoint的Python项目详细描述
时间序列中的变化点检测
- 免费软件:BSD许可证
- 文档:https://changepoint.readthedocs.org。
功能
- 该软件包实现了时间序列变化点检测的均值漂移模型
- 这个包还提供了一个python绑定到changepoint包中的一些r函数来检测变更点。
示例用法
import numpy as np from changepoint.mean_shift_model import MeanShiftModel ts = np.concatenate([np.random.normal(0, 0.1, 100), np.random.normal(10, 0.1, 100)]) model = MeanShiftModel() stats_ts, pvals, nums = model.detect_mean_shift(ts, B=1000)
要求
- 努比
- scipy
- RPY2
- 更多工具
- 作业库
- argpatse
(可能必须独立安装)
安装
- CD转换点
- pip install-r requirements.txt
- python setup.py安装
历史记录
0.1.0(2015-02-20)
- pypi上的第一个版本。