example for spark-mllib