num_outputs {processpredictR}R Documentation

Calculate number of outputs (target variables)

Description

Calculate number of outputs (target variables)

Usage

num_outputs(processed_df)

Arguments

processed_df

A processed dataset of class ppred_examples_df.

Value

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.

Examples

library(processpredictR)
library(eventdataR)
df <- prepare_examples(patients)
num_outputs(df)


[Package processpredictR version 0.1.0 Index]