Added polarity feature to Supervised.scala