microsoft / LightLDA

Scalable, fast, and lightweight system for large-scale topic modeling
http://www.dmtk.io
MIT License
842 stars 235 forks source link

Evaluation questions #49

Closed thtb closed 7 years ago

thtb commented 7 years ago

image image

should add "TrainerId() == 0" when logging ”doc likelihood“ and “word likelihood“?

feiga commented 7 years ago

No, the barrier_->Wait() returns true only when the last thread reach the barrier, so only one thread will satisfies this if statement and print the log.

thtb commented 7 years ago

I ignore that before, thanks!