Apply DUPLEX data split to the given dataset and return training and test datasets.
Note: The code need to be modified for use for different datasets. The example given is 3D inputs and outputs designed for LSTM network training.
REF: Snee, R. D. (1977). Validation of regression models: methods and examples. Technometrics, 19(4), 415-428.