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

SPADE: hackathon changes #286

Merged
merged 63 commits into from
Jan 30, 2020
Merged

Conversation

pbouss
Copy link
Contributor

@pbouss pbouss commented Jan 13, 2020

No description provided.

@coveralls
Copy link
Collaborator

coveralls commented Jan 13, 2020

Coverage Status

Coverage increased (+0.8%) to 84.183% when pulling 2e19f54 on INM-6:feature/spade_hackathon into 2062dc7 on NeuralEnsemble:master.

@pep8speaks
Copy link

pep8speaks commented Jan 14, 2020

Hello @pbouss! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 987:49: W292 no newline at end of file

Comment last updated at 2020-01-30 13:43:49 UTC

p-bouss and others added 18 commits January 15, 2020 17:19
rescale quantities outside the loop
in concept_output_to_patterns
convert fpgrowth_filter to a list comprehension
and optimise the order of its tests
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
elephant/spade.py Outdated Show resolved Hide resolved
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))
Copy link
Member

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

Copy link
Member

@dizcza dizcza left a 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

elephant/spade.py Outdated Show resolved Hide resolved
@dizcza dizcza merged commit 978763e into NeuralEnsemble:master Jan 30, 2020
@dizcza dizcza deleted the feature/spade_hackathon branch January 30, 2020 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants