| drifter | R Documentation |
Ancestor class for drift detection.
Every detector in the package follows the same contract:
update_state(obj, value) returns a list with the updated object
(obj) and a logical flag (drift) telling whether a drift was detected
** in that call**;
obj$drifted is sticky: it stays TRUE after the first detection
until reset_state() is called;
reset_state(obj) returns the detector to its initial state;
obj$drifter_output holds the per-observation diagnostics produced by
the last call to fit(), one row per observation; rows are NA when the
detector reported nothing for that observation (for example while its window
is filling, or for a skipped missing value).
drifter()
Drifter object
model <- drifter()
model$drifted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.