create_vocabulary: Create a vocabulary

View source: R/create_vocabulary.R

create_vocabularyR Documentation

Create a vocabulary

Description

Creates a vocabulary of activities and outcome labels.

Usage

create_vocabulary(processed_df)

Arguments

processed_df

A preprocessed object of type ppred_examples_df returned by prepare_examples().

Value

A list consisting of:

  • "keys_x": list of activity labels

  • "keys_y": list of outcome labels (none for tasks "next_time" and "remaining_time")


processpredictR documentation built on Jan. 18, 2023, 1:09 a.m.