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

Example not working #1

Open
syntaxshill opened this issue Aug 2, 2019 · 1 comment · May be fixed by #3
Open

Example not working #1

syntaxshill opened this issue Aug 2, 2019 · 1 comment · May be fixed by #3
Labels

Comments

@syntaxshill
Copy link

Hi! I was trying to use WINEPI on my own data, but I was getting empty arrays returned from w.discover_frequent_episodes() and w.generate_rules(). I decided to try the example code from the readme to see if I would get the same output, but I got this error:

Traceback (most recent call last):
File "data_analysis.py", line 22, in
print(w.discover_frequent_episodes(29, 68, 5, 0.1))
File "/Users/dianaabagyan/Desktop/dev/error_logs/venv/episode_mining/episode_mining/winepi.py", line 52, in discover_frequent_episodes
C[size], t_s, t_e, win, min_fr)
File "/Users/dianaabagyan/Desktop/dev/error_logs/venv/episode_mining/episode_mining/winepi.py", line 245, in recognize_candidate_parallel
contains[(event, num)].add(epi)
TypeError: unhashable type: 'ParallelEpisode'

@gitauto-ai gitauto-ai bot added the gitauto label Dec 20, 2024
Copy link

gitauto-ai bot commented Dec 20, 2024

@syntaxshill Pull request completed! Check it out here #3 🚀

Note: I automatically create a pull request for an unassigned and open issue in order from oldest to newest once a day at 00:00 UTC, as long as you have remaining automation usage. Should you have any questions or wish to change settings or limits, please feel free to contact [email protected] or invite us to Slack Connect.

@gitauto-ai gitauto-ai bot linked a pull request Dec 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant