ericproffitt / TopicModelsVB.jl

A Julia package for variational Bayesian topic modeling.
Other
81 stars 8 forks source link

ERROR: digamma has been moved to the package SpecialFunctions.jl. #11

Closed baggepinnen closed 7 years ago

baggepinnen commented 7 years ago
julia> nsflda = LDA(nsfcorp, 9)
ERROR: digamma([1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],) has been moved to the package SpecialFunctions.jl.
Run Pkg.add("SpecialFunctions") to install SpecialFunctions on Julia v0.6 and later,
and then run `using SpecialFunctions`.
Stacktrace:
 [1] #fixmodel!#411(::Bool, ::Function, ::TopicModelsVB.LDA) at /local/home/fredrikb/.julia/v0.6/TopicModelsVB/src/modelutils.jl:148
 [2] (::TopicModelsVB.#kw##fixmodel!)(::Array{Any,1}, ::TopicModelsVB.#fixmodel!, ::TopicModelsVB.LDA) at ./<missing>:0
 [3] TopicModelsVB.LDA(::TopicModelsVB.Corpus, ::Int64) at /local/home/fredrikb/.julia/v0.6/TopicModelsVB/src/LDA.jl:36
ericproffitt commented 7 years ago

Yes this is a breaking change in v0.6, in a week or 2 I'm going to upload the v0.6 compatible version and then everything should work fine.

ericproffitt commented 7 years ago

package has been made v0.6 compatible, this issue should be fixed, please open a new issue if it's not.