ericproffitt / TopicModelsVB.jl

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

How do save topics to array. Showtopics() => some variables #23

Closed ValeriiBaidin closed 4 years ago

ValeriiBaidin commented 4 years ago

Would you suggest, how use result from showtopics() later in the code?

thank you in advance.

ericproffitt commented 4 years ago

Hi Valerii,

Sure, so the field you want is model.topics.

This will be of type Array{Array{Int64,1},1} (basically a vector of vectors), where each vector corresponds to the (descending) ranking of vocabulary keys for its corresponding topic.

ValeriiBaidin commented 4 years ago

Hi Valerii,

Sure, so the field you want is model.topics.

This will be of type Array{Array{Int64,1},1} (basically a vector of vectors), where each vector corresponds to the (descending) ranking of vocabulary keys for its corresponding topic.

Thank you, I am sorry to bother you since I didn't found it.