Hello,

We're trying to use PrefixSpan on sequential data, by passing a sliding
window over it. Spark Streaming is not an option.
RDDFunctions.sliding() returns an item of class RDD<Java.lang.Object>,
regardless of the original type of the RDD. Because of this, the
returned item seems to be pretty much worthless.
Is this a bug/nyi? Is there a way to circumvent this somehow?

Official docs:
https://spark.apache.org/docs/1.6.0/api/java/org/apache/spark/mllib/rdd/RDDFunctions.html

Thanks




--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Java-Return-type-of-RDDFunctions-sliding-int-int-tp26948.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Reply via email to