Welcome to PAMI Discussions! #24
Replies: 3 comments 5 replies
-
Dear Mr. Rage, I hope this email finds you well. I am writing to extend my appreciation for your exceptional work on the development of the PAMI library. Allow me to introduce myself, my name is Marco Almeida, and I recently came across the PAMI library during my online research on pattern mining frameworks and libraries. After thoroughly exploring its features and capabilities, I was thoroughly impressed by the robustness, flexibility, and user-friendliness of PAMI. But still I needed to write to you because after watching your YouTube videos I don’t know if I am able to use PAMI with a few databases I need to work with. So, one of the data bases I would like to ask is a large two columns with an Index column and the Values column like this: INDEX,VALUES So, what I need is to find patterns on the VALUES that after a sequence of, let’s say, 5 VALUES the 6th VALUE is a ˜V˜. Using the database above as an example, PAMI would find Indexes 2 to 7 and check if it repeats over the whole database and if it matches the support of 30% it would save to a file. Or the search would be like show me sequences that match 30% support. Problem is that watching the videos, all examples there have multiples values per indexes, which is different from what I have and need. So, I don’t know if you understood what I want to know and my example, but if you did, could you help me with this? Thank you for any help and best regards!! Marco Almeida. |
Beta Was this translation helpful? Give feedback.
-
Hello!! Thank you for replying!!! As to your understanding, I have to say that it is not correct, sorry. But I know I didn't provide too much information and therefore lead you to a misunderstanding. Although I will explain to you what those letters mean, the end will be the same, I think. So those letters correspond to: V = Vermelho (red), A = Azul (blue), E = Empate (draw), all the is from a virtual game in which I am saving the results and trying to find a pattern in it. The original collected data I have also have the timestamp of each result that I didn't include when I wrote to you, but I think it doesn't help. Well that's it. |
Beta Was this translation helpful? Give feedback.
-
So, after reading the article, refactored the code so that it outputs the sequence as you suggested. 1, A V V A V A I also used the basics FPGrowth algo and it returned 3 results, but the output was in a way didn't understand and expected: E:582 That's the contents of the exported TXT file. I also wrote a python script to search for repeating sequence throughout the database and it returned much more instances that I could visually check on the database if they matched and they did. So, there are two things I need to figure out: 1 - Understand the way the output displays the results So, could you once again help me understand why/how the PAMI outputs that way? |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions