Re: spark 1.5, ML Pipeline Decision Tree Dataframe Problem

2015-09-18 Thread Yasemin Kaya
Thanks, I try to make but i can't. JavaPairRDD unlabeledTest, the vector is Dence vector. I add import org.apache.spark.sql.SQLContext.implicits$ but there is no method toDf(), I am using Java not Scala. 2015-09-18 20:02 GMT+03:00 Feynman Liang : > What

spark 1.5, ML Pipeline Decision Tree Dataframe Problem

2015-09-18 Thread Yasemin Kaya
Hi, I am using *spark 1.5, ML Pipeline Decision Tree * to get tree's probability. But I have to convert my data to Dataframe type. While creating model there is no problem but when I am using model on my data there is a

Re: spark 1.5, ML Pipeline Decision Tree Dataframe Problem

2015-09-18 Thread Feynman Liang
What is the type of unlabeledTest? SQL should be using the VectorUDT we've defined for Vectors so you should be able to just "import sqlContext.implicits._" and then call