View source: R/prepare_examples_df.R
prepare_examples | R Documentation |
log
into a preprocessed format.an event log is converted into a tibble where each row contains a cumulative sequence of activities per case. This sequence will eventually be feeded to the Transformer model's token embedding layer.
prepare_examples( log, task = c("outcome", "next_activity", "next_time", "remaining_time", "remaining_trace", "remaining_trace_s2s"), features = NULL, ... )
log |
|
task |
|
features |
|
... |
additional arguments. |
a preprocessed dataset of class ppred_examples_df
.
library(processpredictR) library(eventdataR) prepare_examples(patients, "next_activity")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.