Description Usage Arguments Value Examples
Detect change points in a time series using RelULSIF.
1 2 3 4 5 6 7 8 9 10 |
ts |
Time series to detect change points in. Assumes this is a D by N matrix where D is the dimension of the time series and N is the number of time points. If a vector is provided, will assume the time series is one-dimensional. |
window_size |
The length of the sub-sequences generated from the series. Default |
step |
How many sub-sequences forward and backward to from a time point to compute a score from. Default is 10% of the length of the series if not specified. |
alpha |
Relative parameter in [0, 1). Default |
k |
Number of basis functions. Default is minimum of |
n_folds |
Number of folds to use in determining optimal kernel bandwidth and lambda parameter in RULSIF. |
thresh |
Scalar in (0, 1) indicating the percentile above which a score is considered a potential change-point. Lower values increase the sensitivity. |
make_plot |
Logical. On the same figure, make a plot of each dimension
of the time series, the rPE scores, and highlight in the time
series plots the change points detected in red. Default |
List of 3:
step
: the step used
scores
: rPE scores
change_points
: time points that a change was detected at the given threshold
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.