general kfold with stats