Well as for now, the GBTClassifier is considered as a Predictor and not a Classifier. That's why you get that error. Unless you'd want to re-write your own GBTClassifier that extends Classifier there is no solution for now to use the OneVsAll Estimator on it.
Nevertheless, there is a associated JIRA https://issues.apache.org/jira/browse/SPARK-16739 to the topic. You can follow the issue there. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spark-ML-Using-GBTClassifier-in-OneVsRest-tp27933p27961.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe e-mail: user-unsubscr...@spark.apache.org