</b> sections.</p><pre>
gst = GridSearchTrainer$new(trainer, parameters, n_folds, scoring)
gst$fit(X, y)
gst$best_iteration(metric)
</pre>
    
    <h2 class="hasAnchor" id="methods"><a class="anchor" href="#methods"></a>Methods</h2>

    
    <dl class='dl-horizontal'>
  <dt><code>$new()</code></dt><dd><p>Initialises an instance of grid search trainer</p></dd>
  <dt><code>$fit()</code></dt><dd><p>fit model to an input train data and trains the model.</p></dd>
  <dt><code>$best_iteration()</code></dt><dd><p