You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs say to use transform(DiffMap, X; d=2, t=1, ɛ=1.0) but I get the error
UndefVarError: k not defined
Stacktrace:
[1] (::getfield(MultivariateStats, Symbol("#kw##transform")))(::NamedTuple{(:d, :t, :ε),Tuple{Int64,Int64,Float64}}, ::typeof(transform), ::Type, ::Array{Float64,2}) at ./none:0
[2] top-level scope at In[66]:4
Should the docs/readme be updated or is the api still in flux? I got this example working if you want to use it. Not sure how to get diffmap to return a circle like wikipedia claims (any ideas?). Isomap looks good though :)
# Create winding curve
t =collect(1:500) /500*2π
X =zeros(3,500)
X[1,:] =cos.(t).*(.5cos.(6t).+1)
X[2,:] =sin.(t).*(.4cos.(6t).+1)
X[3,:] =0.4sin.(6t)
# Isomap
Y =transform(fit(Isomap, X))
scatter(Y[1,:], Y[2,:], zcolor=t, legend=nothing, title="isomap")
# Diffmap
M =fit(DiffMap, X, ε=0.3 , t=8, maxoutdim=2)
Y =transform(M)
scatter(Y[1,:], Y[2,:], zcolor=t, legend=nothing, title="diffusion map")
The text was updated successfully, but these errors were encountered:
The docs say to use
transform(DiffMap, X; d=2, t=1, ɛ=1.0)
but I get the errorShould the docs/readme be updated or is the api still in flux? I got this example working if you want to use it. Not sure how to get diffmap to return a circle like wikipedia claims (any ideas?). Isomap looks good though :)
The text was updated successfully, but these errors were encountered: