NullPointer solved. Need to implement SgdRatingPredictor.score