title: Beta constraints in H2OGeneralizedLinearEstimator
body: <p>I'm looking for a way to set beta in prior to the model run in H2O GeneralizedLinearEstimator? Beta which can be used as a starting point for the model? It is called beta constraints as per the documentation below. Could someone help me with this.</p>
  
  <p><a href="http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/algo-params/beta_constraints.html" rel="nofollow noreferrer">http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/algo-params/beta_constraints.html</a></p>
  
  <h3>Here is the example what I'm trying</h3>
  
  <p>1)   Model 1: I ran a model with 20 iterations and used the betas from this model run and saved it as a data frame</p>
  
  <p>2)   Model 2: I ran a model with everything the same as the first Model (including 20 iterations), additionally I specified beta constraints as the coefficient from the previous model. Trying to warm start this model so it starts where the previous model ended.</p>
  
  <p>3)   Model 3: I ran a model with everything the same as the first model but with 40 iteration</p>
  
  <p>As explained in the documentation I wanted to compare and see that the model 2 betas to be same as the betas from a model 3</p>
  
  <h3>Code with beta constraints specification</h3>
  
  <pre><code>    model2 =  H2OGeneralizedLinearEstimator(family = "poisson",
                                              alpha=0,
                                              solver = "L-BFGS", 
                                              max_iterations=20, 
                                              gradient_epsilon=1e-8, 
                                              objective_epsilon=1e-8, 
                                              beta_epsilon=1e-8, 
                                              beta_constraints=bc)
  </code></pre>