wildart / ManifoldLearning.jl

A Julia package for manifold learning and nonlinear dimensionality reduction
Other
92 stars 22 forks source link

Isomap not working in master #5

Closed baggepinnen closed 8 years ago

baggepinnen commented 8 years ago
julia> m = transform(Isomap, randn(3,100))
WARNING: Dict{K,V}(ks::AbstractArray{K},vs::AbstractArray{V}) is deprecated, use Dict{K,V}(zip(ks,vs)) instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in transform at /local/home/fredrikb/.julia/v0.4/ManifoldLearning/src/isomap.jl:59
while loading no file, in expression starting on line 0
ERROR: DimensionMismatch("tried to assign 13-element array to 12x1 destination")
 in throw_setindex_mismatch at operators.jl:246
 in setindex_shape_check at operators.jl:298
 in _unsafe_batchsetindex! at multidimensional.jl:322
 in _unsafe_setindex! at multidimensional.jl:294
 in _setindex! at multidimensional.jl:291
 in transform at /local/home/fredrikb/.julia/v0.4/ManifoldLearning/src/isomap.jl:62
wildart commented 8 years ago

These errors look like old code before 0.4 overhaul, so it's not a master. Use Pkg.checkout command to switch to master branch.