Output Multiple Result Sets in R Execute Script Module
Here is a common use case:
trainIndex <- createDataPartition(df$serviceName, p = .8, list = F, times = 2)
df.train <- df[trainIndex,] # I need to export this, the training data
df.test <- df[-trainIndex,] # and, I need to export this, the testing data
The createDataPartition is useful becuase it ensures both training and testing data have the same factors.
Thank You for feedback! We’re reviewing this request.
Dominic Archual commented
You're welcome. My answer in the forum provides a module which at least does what I needed it to do: https://social.msdn.microsoft.com/Forums/azure/en-US/57908c75-2135-4fab-8573-982f7038a4b7/output-multiple-result-sets-in-r-execute-script-module?forum=MachineLearning