Stan  2.10.0
probability, sampling & optimization
arg_variational_adapt_iter.hpp
Go to the documentation of this file.
1 #ifndef STAN_SERVICES_ARGUMENTS_ARG_VARIATIONAL_ADAPT_ITER_HPP
2 #define STAN_SERVICES_ARGUMENTS_ARG_VARIATIONAL_ADAPT_ITER_HPP
3 
5 
6 namespace stan {
7  namespace services {
8 
10  public:
12  _name = "iter";
13  _description = "Number of iterations for eta adaptation";
14  _validity = "0 < iter";
15  _default = "50";
16  _default_value = 50;
17  _constrained = true;
18  _good_value = 50.0;
19  _bad_value = -1.0;
21  }
22 
23  bool is_valid(int value) {
24  return value > 0;
25  }
26  };
27 
28  } // services
29 } // stan
30 #endif
Probability, optimization and sampling library.
std::string _description
Definition: argument.hpp:84

     [ Stan Home Page ] © 2011–2016, Stan Development Team.