title: How to show precision in a confusion matrix
body: <p>I'm using scikit learn, and I want to show precision in the form of confusion matrix. So I have this confusion matrix:</p>
  
  <pre><code>array([[1266,   45,    6],
         [  25, 1507,   19],
         [  36,   82,  858]], dtype=int64)
  </code></pre>
  
  <p>And I applied this code, from another post here:</p>
  
  <pre><code>cm = cm.astype('float') / cm.sum(axis=1)[:, np.newaxis]
  </code></pre>
  
  <p>And the output was :</p>
  
  <pre><code>array([[0.96127563, 0.03416856, 0.00455581],
         [0.01611863, 0.97163121, 0.01225016],
         [0.03688525, 0.08401639, 0.87909836]])
  </code></pre>
  
  <p>However, this is the recall, not the precision. How can I make it show the precision?</p>