title: how to change the when-to-predict-one parameter in sklearn?
body: <p>As we know, in logistic regression algorithm we predict one when theta times X is bigger than 0.5. I wanna raise the precision value. so i wanna change the predict function to predict 1 when theta times X is bigger than 0.7 or other values bigger than 0.5.</p>
  
  <p>If i write the algorithm i could easily do it. But with sklearn package, i have no idea what to do.</p>
  
  <p>Anyone can give me a hand?</p>
  
  <p>To explain the question clearly enough, here is the predict function wroten in octave:</p>
  
  <pre><code>p = sigmoid(X*theta);
  
  for i=1:size(p)(1)
      if p(i) &gt;= 0.6
          p(i) = 1;
      else
          p(i) = 0;
      endif;
  endfor
  </code></pre>