Description Usage Arguments Details Value Author(s) References Examples
This Function implements a simple changepoint labeling tool as well as the penalty learning algorithm to learn a penalty function that can be used to accurately predict changepoints in labeled data.
The function starts a shiny server and acompanying web interface that displays:
The univariate dataset (top left)
Control Pannel (top right)
The main form of interaction with the interface is through selecting a label type (top right) and then selecting regions of the data which you would like to assign said label type. Additionaly, by clicking "learn Penalties" a penalty function is learned from the labeled data and the resulting changepoint(s) are displayed.
1 |
data |
A univariate dataset. |
unsupervised_changepoints |
a boolean value, if set to TRUE, the function will try to load changepoints that were created by cpVisulaise and use these to label the data on startup. |
This function is used to both label a dataset and to learn a penalty function from the labeled data. Furthermore, this labeled data can be exported for use in other applications.
Used to create regions where no changepoints should be.
Used to create regions where changepoints should be.
Used to determine how many models should be evaluated for the given labeled data. Roughly equates to the number of changepoints you belive should be in the data.
Run the penalty learning algorithm given the labeled data. Returns predicted changepoints.
Saves the labels as a .csv file.
In addition to the base functionality, this function also allows the data to be pre-labeled using changepoints found using the unsupervised methods in cpVisualise. This can be done by first selecting and saving a solution in cpVisualise (by clicking the "save changepoints" button) and then running cpLabel with unsupervised_changepoints set to TRUE.
For an extended usage example, please see the accompanying website: https://sites.google.com/view/changepointvis/home
starts a shiny app in a new window
Oliver Ford
Toby Hocking, Guillem Rigaill, Jean-Philippe Vert, Francis Bach ; Proceedings of the 30th International Conference on Machine Learning, PMLR 28(3):172-180, 2013.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.