modified k-fold validation to split all data into 5 parts