functional classifier using mahout 0.6