Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finding frequent patterns in multiple lists #36

Open
jarble opened this issue Jan 17, 2022 · 0 comments
Open

Finding frequent patterns in multiple lists #36

jarble opened this issue Jan 17, 2022 · 0 comments

Comments

@jarble
Copy link

jarble commented Jan 17, 2022

Can PrefixSpan find sequential patterns in multiple lists, instead of just one list?
For example, I'd want to find the most frequent patterns that occur in both of these lists:

db = [
    [0, 1, 2, 3, 4],
    [1, 1, 1, 3, 4],
    [2, 1, 2, 2, 0],
    [1, 1, 1, 2, 2],
]
db2 = [
    [0, 2, 2, 3, 5],
    [1, 1, 1, 3, 5],
    [2, 1, 2, 2, 0],
    [1, 1, 1, 2, 2],
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant