Skip to content
Browse files

run for 100k iter, 100k burn

  • Loading branch information...
1 parent 1475ae3 commit 14ef12a8d9b2ab864dd8e6fa528c53238582158b @armstrtw committed Nov 30, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/eight.schools.stan.cpp
View
8 test/eight.schools.stan.cpp
@@ -43,10 +43,10 @@ int main() {
std::vector<vec>& eta_hist = m.track<std::vector>(eta);
std::vector<vec>& theta_hist = m.track<std::vector>(theta);
- m.tune(1e4,100);
- m.tune_global(1e4,100);
- m.burn(5e3);
- m.sample(1e4, 1);
+ m.tune(1e3,100);
+ m.tune_global(1e3,100);
+ m.burn(1e5);
+ m.sample(1e5, 1);
cout << "eta:" << endl << mean(eta_hist.begin(),eta_hist.end()) << endl;
cout << "theta:" << endl << mean(theta_hist.begin(),theta_hist.end()) << endl;

0 comments on commit 14ef12a

Please sign in to comment.
Something went wrong with that request. Please try again.