You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: