Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
feiga committed Sep 13, 2015
1 parent 519f1e0 commit 3b1daec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# build lightlda

git clone https://github.com/msraai/multiverso
git clone git@github.com:Microsoft/multiverso.git

cd multiverso
cd third_party
Expand Down
7 changes: 2 additions & 5 deletions src/trainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace multiverso { namespace lightlda
Barrier* barrier, Meta* meta) :
alias_(alias_table), barrier_(barrier), meta_(meta)
{
sampler_ = new LightDocSampler();
sampler_ = new LightDocSampler();
}

Trainer::~Trainer()
Expand Down Expand Up @@ -90,13 +90,10 @@ namespace multiverso { namespace lightlda
{
Evaluate(lda_data_block);
if (TrainerId() == 0)
{
Log::Info("Rank = %d, Evaluation Time used: %.2f s \n",
Multiverso::ProcessRank(), watch.ElapsedSeconds());
}
}
if (iter != 0 && iter % 50 == 0)
Dump(iter, lda_data_block);
// if (iter != 0 && iter % 50 == 0) Dump(iter, lda_data_block);
}

void Trainer::Evaluate(LDADataBlock* lda_data_block)
Expand Down

0 comments on commit 3b1daec

Please sign in to comment.