10 #ifndef META_TOPICS_LDA_CVB_H_
11 #define META_TOPICS_LDA_CVB_H_
44 lda_cvb(std::shared_ptr<index::forward_index> idx, uint64_t num_topics,
45 double alpha,
double beta);
65 void run(uint64_t num_iters,
double convergence = 1e-3);
83 topic_id topic)
const override;
86 topic_id topic)
const override;
95 std::vector<std::vector<stats::multinomial<topic_id>>>
gamma_;
100 std::vector<stats::multinomial<term_id>>
phi_;
105 std::vector<stats::multinomial<topic_id>>
theta_;