lejon / TSne.jl

Julia port of L.J.P. van der Maaten and G.E. Hintons T-SNE visualisation technique.
Other
143 stars 25 forks source link

std not defined #23

Closed sandgrules closed 6 years ago

sandgrules commented 6 years ago

I'm not sure if this repo is still being updated - but I tried to use it just now and got the following error: julia> Y = tsne(data,2,1024,1000,20) ERROR: UndefVarError: std not defined Stacktrace: [1] #tsne#8(::Bool, ::Float64, ::Float64, ::Bool, ::Float64, ::Float64, ::Int64, ::Int64, ::Float64, ::Bool, ::Bool,::typeof(tsne), ::LinearAlgebra.Adjoint{Float64,Array{Float64,2}}, ::Int64, ::Int64, ::Int64, ::Int64) at /home/krudd/.julia/packages/TSne/WrngE/src/TSne.jl:172 [2] tsne(::LinearAlgebra.Adjoint{Float64,Array{Float64,2}}, ::Int64, ::Int64, ::Int64, ::Int64) at /home/krudd/.julia/packages/TSne/WrngE/src/TSne.jl:166 [3] top-level scope at none:0

I am using julia v 1.0.0. I'm guessing there are updates needed to run this with the latest julia version?

alyst commented 6 years ago

I'm not sure if this repo is still being updated

A perfect moment to ask :) Just very recently most of the packages TSne.jl is dependent upon were updated to 0.7/1.0, so a few hours ago I published PR #22 that should work on v0.7/v1.0. I will do some small fixes and merge it soon.

sandgrules commented 6 years ago

@alyst :+1:

alyst commented 6 years ago

22 is merged to master, Julia 1.0-compatible TSne version v1.2.0 is tagged and should soon be available in the package registry