title: Should I cast target class as float or integer?
body: <p>In <code>sklearn</code>, should I cast the <code>target class</code> as an <code>integer or float</code>? Will it make a difference?</p>
  
  <p>I'm asking because I'm training a <code>Neural Network</code> and read in <a href="https://stackoverflow.com/questions/41488279/neural-network-always-predicts-the-same-class">this</a> question that having a class casted as float may cause issues.</p>
  
  <p>Then according to this question I think the answer is as <code>Integer</code>, but I would like to know if this is the case and why.</p>