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
julia>using StatsBase
julia>fit(ZScoreTransform, rand(3, 3))
ERROR: UndefVarError: l not defined
Stacktrace:
[1] fit(::Type{ZScoreTransform}, ::Array{Float64,2}; dims::Nothing, center::Bool, scale::Bool) at /home/alir/.julia/packages/StatsBase/unDUx/src/transformations.jl:126
[2] fit(::Type{ZScoreTransform}, ::Array{Float64,2}) at /home/alir/.julia/packages/StatsBase/unDUx/src/transformations.jl:111
[3] top-level scope at REPL[2]:1
According to the docs (https://juliastats.org/StatsBase.jl/stable/transformations/#StatsBase.fit-Tuple{Type{ZScoreTransform},AbstractArray{#s4,2}%20where%20#s4%3C:Real}),
so either the docs need updating or
dims
should be made a required keyword argument.The text was updated successfully, but these errors were encountered: