Changing the Cutoff in scikit-learn

The code at this link is an example of how to change the probability cutoff in scikit-learn.