split_train_test {processpredictR} | R Documentation |
Splits the preprocessed data.frame
.
Description
Returns train- and test dataframes as a list.
Usage
split_train_test(processed_df, split = 0.7)
Arguments
processed_df |
A preprocessed object of type |
split |
|
Value
A list
containing the train- and the test set objects.
Examples
library(processpredictR)
library(eventdataR)
df <- prepare_examples(patients, "next_activity")
split_train_test(df, split = 0.8)
[Package processpredictR version 0.1.0 Index]