title: pybrain prediction is only float. I need integer, boolean and string
body: <p>I am using <a href="https://stackoverflow.com/questions/16962274/dont-print-results-of-a-function">this code</a> and try to predict the final number of a sequence.</p>
  
  <p>The problem is that the neural network predict all the time float numbers.</p>
  
  <p>Is there any way to fix the type of the sample? I want to test with integers, boolean and strings.</p>
  
  <p>Thank you</p>