Hi, when using FixedSizeArrays and trying to do PCA with the SVD method
using FixedSizeArrays, MultivariateStats
M = FixedSizeArray(randn(10, 100))
fit(PCA, M, method=:svd)
one is met with
TypeError: in typeassert, expected Vector{Float64}, got a value of type FixedSizeArray{Float64, 1, Memory{Float64}}
Stacktrace:
[1] pcasvd(Z::FixedSizeArray{…}, mean::FixedSizeArray{…}, n::Int64; maxoutdim::Int64, pratio::Float64)
@ MultivariateStats ~/.julia/packages/MultivariateStats/sSKHh/src/pca.jl:242
because of the cast in
Overwriting the function removing the explicit typecast makes it work (it results in an unrelated error in StatsBase). Is there something that can be done about this? Thank you in advance.
Hi, when using FixedSizeArrays and trying to do PCA with the SVD method
one is met with
because of the cast in
MultivariateStats.jl/src/pca.jl
Line 242 in 1c26eff
Overwriting the function removing the explicit typecast makes it work (it results in an unrelated error in StatsBase). Is there something that can be done about this? Thank you in advance.