JuliaText / TextAnalysis.jl

Julia package for text analysis
Other
374 stars 96 forks source link

error on LDA Julia 0.4 #37

Closed gabrielelanaro closed 11 months ago

gabrielelanaro commented 9 years ago

Hi I was trying to use the lsa function but it gives an error because svd doesn't seem to support sparse matrices

corpus = Corpus(docs)
update_lexicon!(corpus)
dtmat = DocumentTermMatrix(corpus)
lda(dtmat)

ERROR: svdfact has no method matching svdfact(::SparseMatrixCSC{Float64,Int64})