split RTD data into training and testing sets