powered by
Calculate number of outputs (target variables)
num_outputs(processed_df)
an integer number of outputs for supplying as an argument to a Transformer model, i.e. number of unique labels for a specific process monitoring task.
integer
A processed dataset of class ppred_examples_df.
ppred_examples_df
library(processpredictR) library(eventdataR) df <- prepare_examples(patients) num_outputs(df)
Run the code above in your browser using DataLab