title: Specifying threshold to use for h2o steam prediction service
body: <p>Using <code>h2o steam</code>'s prediction service for a deployed model, the default threshold that seems to be used by the prediction service is the max f1 threshold. However, in my case I would like the be able to use other thresholds (as displayed by the model when built in <code>h2o flow</code>) (eg. max f2 or max accuracy thresholds) like these. </p>
  
  <p><a href="https://i.stack.imgur.com/xn5j6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xn5j6.png" alt="enter image description here"></a></p>
  
  <p>Is there a way to set these thresholds in <code>steam</code>?</p>
  
  <p>Looking at the inspector on the prediction service page, seems to shows that the logic for the predictor is from a script called "predict.js" (see below):</p>
  
  <p><a href="https://i.stack.imgur.com/rpO5h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rpO5h.png" alt="enter image description here"></a></p>
  
  <p>But I can't find where in the <code>steam</code> launch directory (running from local host based on <a href="http://docs.h2o.ai/steam/latest-stable/steam-docs/Installation.html#start-steam-locally" rel="nofollow noreferrer">these</a> instructions) these files are (doing a file search in this directory for anything named "predict.js" returns nothing).</p>