Sample method added to DataSplitter