Functional k-fold cross validation splitting tool.