title: Scikit Learn - How to plot probabilities
body: <p>I want to plot the models prediction probabilities.</p>
  
  <pre><code>plt.scatter(y_test, prediction[:,0])
  plt.xlabel("True Values")
  plt.ylabel("Predictions")
  plt.show()
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/KMpm9.png" alt="Graph"></p>
  
  <p>However, I get a graph like the above. Which kind of makes sense but I want to visualize the probability distribution better. Is there a way I can do this with my actual classes being 0 or 1 and predictions between between 0 and 1.</p>