View source: R/split_train_test.R
split_train_test | R Documentation |
data.frame
.Returns train- and test dataframes as a list.
split_train_test(processed_df, split = 0.7)
processed_df |
A preprocessed object of type |
split |
|
A list
containing the train- and the test set objects.
library(processpredictR) library(eventdataR) df <- prepare_examples(patients, "next_activity") split_train_test(df, split = 0.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.