fix the cv criteria function
Merge branch 'master' of https://github.com/panlanfeng/Nonparametric.jl