python实现分段线性表示
所属分类:人工智能/神经网络/深度学习
开发工具:Python
文件大小:45KB
下载次数:18
上传日期:2019-12-10 10:34:33
上 传 者:
yangguangdexiaos
说明: 按照自顶向下和自底向上分析时间序列趋势和转折点
(Found the turning point from bottom to the top and from top to the bottom)
文件列表:
python实现分段线性表示 (0, 2019-12-10)
python实现分段线性表示\example.py (1946, 2012-02-28)
python实现分段线性表示\example_data (0, 2019-12-10)
python实现分段线性表示\example_data\16265-normalecg.txt (192037, 2012-02-28)
python实现分段线性表示\fit.py (859, 2012-02-28)
python实现分段线性表示\segment.py (4832, 2012-02-28)
python实现分段线性表示\wrappers.py (498, 2012-02-28)
python实现分段线性表示\__pycache__ (0, 2019-12-10)
python实现分段线性表示\__pycache__\fit.cpython-37.pyc (1001, 2019-12-10)
python实现分段线性表示\__pycache__\segment.cpython-37.pyc (3956, 2019-12-10)
python实现分段线性表示\__pycache__\wrappers.cpython-37.pyc (728, 2019-12-10)
Simple Sequence Segmenting
==========================
This repository contains Python code I wrote for segmenting 1-D time series. In other words,
it can be used for transforming a time series into a piecewise linear represenation.
The algorithms are Python implementations of the "classical" algorithms, as described in
[An Online Algorithm for Segmenting Time Series][keogh], including:
- the sliding window algorithm;
- the top-down algorithm; and
- the bottom-up algorithm.
The code is *not* optimized for performance in any way, but I've found it useful for
experimenting and data exploration.
Requirements
------------
The segmenting algorithms use [NumPy's][numpy] least squares fitting routine, so naturally it depends on [NumPy][numpy].
Example
-------
You can run the code to see example output by running the example.py script. The script
requires [matplotlib][mpl] to display the plots.
The example uses ECG data I found on an [ECG data site][ecg].
[keogh]: http://www.cs.ucr.edu/~eamonn/icdm-01.pdf "Keogh et al. An Online Algorithm for Segmenting Time Series"
[numpy]: http://numpy.scipy.org "NumPy"
[mpl]: http://matplotlib.sourceforge.net "Matplotlib"
[ecg]: http://myweb.msoe.edu/~martynsc/signals/ecg/ecg.html "ECG Data"
近期下载者:
相关文件:
收藏者: