Closed joehuchette closed 9 years ago
julia> (c, v, inds) = cross_validate( inds -> compute_center(data[:, inds]), # training function (c, inds) -> compute_rmse(c, data[:, inds]), # evaluation function n, # total number of samples Kfold(n, 5), # cross validation plan: 5-fold Reverse) # smaller score indicates better model ERROR: `cross_validate` has no method matching cross_validate(::Function, ::Function, ::Int64, ::Kfold, ::ReverseOrdering{ForwardOrdering})
Looks like the 5 argument version was removed at some point.
Fixed by https://github.com/JuliaStats/MLBase.jl/commit/e433d2367e1e4b6a3d0dd52804d784e5c971ba93, I suppose
Looks like the 5 argument version was removed at some point.