Split the table in DSS into separate test and train set table
Sam648
Registered Posts: 13 ✭✭✭✭
Hi,
I want to split the data table in the workflow into train and test set with split done randomly. How can we do that? I tried using "split" recipe but i didnt get the desired output.. Can any one help me with this ?
Sam
I want to split the data table in the workflow into train and test set with split done randomly. How can we do that? I tried using "split" recipe but i didnt get the desired output.. Can any one help me with this ?
Sam
Tagged:
Answers
-
These settings will let you achieve what you desire:
- define a custom variable "rand()"
- add two filters on that variable, one <0.8, the other >=0.8