title: Difference between LabelEncoder and LabelBinarizer?
body: <pre><code>from sklearn.preprocessing import LabelBinarizer
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>from sklearn.preprocessing import LabelEncoder
  </code></pre>
  
  <p>What is difference between  <code>LabelEncoder</code> and <code>LabelBinarizer</code> and which one to use when?</p>
  
  <p>Thanks in advance.</p>