The Apache Spark's documentation (1.4.0) promises that Random Forest (the same promise is for decision trees) can be extended to multiclass classification setting. However, I can't find any way to reach this using RandomForestModel API:
randomForestModel.predict
Could you please provide a right way how to do that, if it's really possible in 1.4.0 version?