Classification Tutorial ported to scala.