hanaml.BCPD.Rdhanaml.BCPD is a R wrapper for SAP HANA PAL Bayesian change-point detection algorithm.
hanaml.BCPD( data, key = NULL, features = NULL, max.tcp = 3, max.scp = 3, trend.order = NULL, max.harmonic.order = NULL, min.period = NULL, max.period = NULL, random.seed = NULL, max.iter = NULL, interval.ratio = NULL )
| data |
|
|---|---|
| key |
|
| features |
|
| max.tcp |
|
| max.scp |
|
| trend.order |
|
| max.harmonic.order |
|
| min.period |
|
| max.period |
|
| random.seed |
Defaults to 0. |
| max.iter |
|
| interval.ratio |
|
Returns a list of two DataFrame:
DataFrame 1
Detected the trend change-points of the input time-series data.
DataFrame 2
Detected the season change-points of the input time-series data.
DataFrame 3
Detected the period within each season segment of the input time-series data.
DataFrame 4
The decomposed components.
Bayesian change-point detection (BCPD) methods aim at detecting abrupt changes in the time series. It, to some extent, can been assumed as an enhanced version of seasonality test in additive mode.
Call the function:
> res <- hanaml.BCPD(data = df,
max.tcp = 5,
max.scp = 5)