10 #ifndef META_LDA_GIBBS_H_
11 #define META_LDA_GIBBS_H_
45 lda_gibbs(std::shared_ptr<index::forward_index> idx, uint64_t num_topics,
46 double alpha,
double beta);
65 virtual void run(uint64_t num_iters,
double convergence = 1e-6);
92 topic_id topic)
const;
103 topic_id topic)
const override;
113 topic_id topic)
const override;
139 virtual void decrease_counts(topic_id topic, term_id term, doc_id doc);
149 virtual void increase_counts(topic_id topic, term_id term, doc_id doc);
179 std::vector<stats::multinomial<term_id>>
phi_;
184 std::vector<stats::multinomial<topic_id>>
theta_;