Re: Java: Return type of RDDFunctions.sliding(int, int)

2016-05-13 Thread Tom Godden
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, >>>>>>

Re: Java: Return type of RDDFunctions.sliding(int, int)

2016-05-13 Thread Sean Owen
a sliding >>>>> window over it. Spark Streaming is not an option. >>>>> RDDFunctions.sliding() returns an item of class RDD, >>>>> regardless of the original type of the RDD. Because of this, the >>>>> returned item seems to be prett

Re: Java: Return type of RDDFunctions.sliding(int, int)

2016-05-13 Thread Tom Godden
gt;> 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? >>>> >>>> O

Re: Java: Return type of RDDFunctions.sliding(int, int)

2016-05-13 Thread Sean Owen
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/

Re: Java: Return type of RDDFunctions.sliding(int, int)

2016-05-13 Thread Tom Godden
em 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 >> >> ___

Re: Java: Return type of RDDFunctions.sliding(int, int)

2016-05-13 Thread Sean Owen
; > Thanks > > ________ > View this message in context: Java: Return type of RDDFunctions.sliding(int, > int) > Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubs

Java: Return type of RDDFunctions.sliding(int, int)

2016-05-13 Thread tgodden
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, regardless of the original type of the RDD. Because of this, the returned item seems to be pretty much worthless.