-
Notifications
You must be signed in to change notification settings - Fork 93
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
Issue with key parameter input #22
Comments
I am also having the same problem. Does anyone know what I'm doing wrong? |
same issue, however it seems that the project is out of valid maintainence |
No sure exactly why without failed examples, as default key is used in algorithm. Can you share some examples? BTW, this project is currently having low activities due to my busy work schedule, but I will keep it alive. |
how can one get rules of A---B form from this? This gives frequent sequences but how to get rules then |
Hello,
Thank you for your very convenient package. Computation time is great.
I'd like to count the occurrences of patterns in my database, not just the number of times they appear as prefixes. Thus, I wanted to specify a key function that could count this. Unfortunately, everytime i try to use the key parameter, the output is : 'NoneType' object is not callable'. I then tried to change the defaultkey in prefixspan.py to len(patt) instead of len(matches) and the same happened. I then changed it back to len(matches) and rather than going back to a normal output it was still 'NoneType object is not callable'.
Would you have any idea on where the problem comes from ?
I work on Oracle VM Ubuntu 16, Anaconda python 3.7, Spyder IDE
Thank you.
The text was updated successfully, but these errors were encountered: