-
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
SPADE: hackathon changes #286
Conversation
# Conflicts: # elephant/spade.py
…athon # Conflicts: # elephant/spade.py
…nto feature/spade_hackathon
Hello @pbouss! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2020-01-30 13:43:49 UTC |
…nto feature/spade_hackathon
…nto feature/spade_hackathon
rescale quantities outside the loop in concept_output_to_patterns convert fpgrowth_filter to a list comprehension and optimise the order of its tests
…nto feature/spade_hackathon
move duplicated code into external functions simplify and comment unify naming conventions
added more comments and an additional break to improve the performance changed Python2-incompatible parts
Change of AttributeError->ValueError according hint of Danylo Some things for the new style guidelines Comparison of empty lists, sets -> to bool-statements
concepts, rel_matrix = concepts_mining( | ||
spiketrains, binsize, winlen, min_spikes=min_spikes, | ||
min_occ=min_occ, max_spikes=max_spikes, max_occ=max_occ, | ||
min_neu=min_neu, report='a') | ||
time_mining = time.time() - time_mining | ||
print("Time for data mining: {}".format(time_mining)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense to put all timings debug info under the verbose flag mode
I'll think how to do this
This reverts commit 159cb2d.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
last 3 commits
this does not look like a small change
but it seems OK anyway except for one docstring we need to elaborate on
No description provided.