[
https://issues.apache.org/jira/browse/SPARK-8999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640621#comment-14640621
]
Apache Spark commented on SPARK-8999:
-------------------------------------
User 'zhangjiajin' has created a pull request for this issue:
https://github.com/apache/spark/pull/7646
> Support non-temporal sequence in PrefixSpan
> -------------------------------------------
>
> Key: SPARK-8999
> URL: https://issues.apache.org/jira/browse/SPARK-8999
> Project: Spark
> Issue Type: Improvement
> Components: MLlib
> Affects Versions: 1.5.0
> Reporter: Xiangrui Meng
> Priority: Critical
>
> In SPARK-6487, we assume that all items are ordered. However, we should
> support non-temporal sequences in PrefixSpan. This should be done before 1.5
> because it changes PrefixSpan APIs.
> We can use `Array[Array[Int]]` or follow SPMF to use `Array[Int]` and use -1
> to mark itemset boundaries. The latter is more efficient for storage. If we
> support generic item type, we can use null.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]