Learn R Programming

processpredictR (version 0.1.0)

num_outputs: Calculate number of outputs (target variables)

Description

Calculate number of outputs (target variables)

Usage

num_outputs(processed_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.

Arguments

processed_df

A processed dataset of class ppred_examples_df.

Examples

Run this code
library(processpredictR)
library(eventdataR)
df <- prepare_examples(patients)
num_outputs(df)

Run the code above in your browser using DataLab