JuliaStats / MLBase.jl

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

using MLBase is failing with the latest julia distribution #15

Closed jumutc closed 9 years ago

jumutc commented 9 years ago
julia> using MLBase
Warning: Method definition takeTuple{Any,Int64} in module Base at iterator.jl:132 overwritten in module Iterators at /users/stadius/vjumutc/.julia/v0.4/Iterators/src/Iterators.jl:50.

WARNING: deprecated syntax "(T=>Int)[]" at /users/stadius/vjumutc/.julia/v0.4/MLBase/src/classification.jl:132.
Use "Dict{T,Int}()" instead.
ERROR: LoadError: LoadError: ArgumentError: invalid type for argument preds in method definition for roc at /users/stadius/vjumutc/.julia/v0.4/MLBase/src/perfeval.jl:217
 in include at ./boot.jl:250
 in include_from_node1 at ./loading.jl:129
 in include at ./boot.jl:250
 in include_from_node1 at ./loading.jl:129
 in reload_path at ./loading.jl:153
 in _require at ./loading.jl:68
 in require at ./loading.jl:51
while loading /users/stadius/vjumutc/.julia/v0.4/MLBase/src/perfeval.jl, in expression starting on line 217
while loading /users/stadius/vjumutc/.julia/v0.4/MLBase/src/MLBase.jl, in expression starting on line 76

Reason might be in https://github.com/JuliaLang/julia/commit/ef062117bab19959a6905b1bb6d7963b42dddea4

jumutc commented 9 years ago

Can we merge https://github.com/JuliaStats/MLBase.jl/issues/16 now?

jumutc commented 9 years ago

Done