JuliaStats / MLBase.jl

A set of functions to support the development of machine learning algorithms
MIT License
186 stars 63 forks source link

crossval.jl example fails #26

Open chrisidefix opened 8 years ago

chrisidefix commented 8 years ago

I am running julia v0.4.5 under Mac OS X. crossval.jl example fails with the following error:

ERROR: LoadError: MethodError: `cross_validate` has no method matching cross_validate(::Function, ::Function, ::Int64, ::MLBase.Kfold, ::Base.Order.ReverseOrdering{Base.Order.ForwardOrdering})
Closest candidates are:
  cross_validate(::Function, ::Function, ::Int64, ::Any)
  cross_validate(::Function, ::Function, ::Integer, ::Any)
 in include at ../julia/lib/julia/sys.dylib
 in include_from_node1 at ../julia/lib/julia/sys.dylib
 in process_options at ../julia/lib/julia/sys.dylib
 in _start at ../julia/lib/julia/sys.dylib
while loading ~/.julia/v0.4/MLBase/examples/crossval.jl, in expression starting on line 32