spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mckunkel <m.kun...@fz-juelich.de>
Subject Example of GBTClassifier
Date Mon, 02 Oct 2017 15:51:01 GMT
Greetings, 
I am trying to run the example in the example directory for the
GBTClassifier. But when I view this code in eclipse, I get an error such
that
"The method setLabelCol(String) is undefined for the type GBTClassifier"	
For the line

	GBTClassifier gbt = new
GBTClassifier().setLabelCol("indexedLabel").setFeaturesCol("indexedFeatures")
				.setMaxIter(10);

However the API says this method is there, eclipse does not.
I did a straight copy paste, including all imports.

Someone please help.



--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org


Mime
View raw message