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

Improve performance #121

Merged
merged 6 commits into from
Dec 19, 2016
Merged

Improve performance #121

merged 6 commits into from
Dec 19, 2016

Conversation

MaxBenChrist
Copy link
Collaborator

I started comparing the runtime of individual feature calculator as in issue #74

turns out that "sample_entropy" and "approximate_entropy" take forever to calculate. I marked them with the attribute "high_comp_cost".

Further, now the constructor of the FeatureExtractionSettings object will not calculate those "high_comp_cost" features.

@coveralls
Copy link

coveralls commented Dec 19, 2016

Coverage Status

Coverage decreased (-3.05%) to 93.695% when pulling d9e65b6 on performance into 9ea0421 on master.

@MaxBenChrist
Copy link
Collaborator Author

I am not sure why the coverage decreases

@MaxBenChrist
Copy link
Collaborator Author

Ah because of the driftbif_datasets.py, I added it to be omited

@coveralls
Copy link

coveralls commented Dec 19, 2016

Coverage Status

Coverage increased (+0.02%) to 96.771% when pulling 4666af7 on performance into 9ea0421 on master.

>>> ds = velocity(tau=3.5) # Dissipative soliton with equilibrium velocity 1.5e-3
>>> print ds.label # Discriminating before or beyond Drift-Bifurcation
1
>>> print ds.deterministic # Equilibrium velocity
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be nice to be able to run these doctests on Python 3. Maybe it suffices to from __future__ import print_function in this file.

@coveralls
Copy link

coveralls commented Dec 19, 2016

Coverage Status

Coverage increased (+0.02%) to 96.771% when pulling 48a8493 on performance into 9ea0421 on master.

@MaxBenChrist MaxBenChrist merged commit 8a586ee into master Dec 19, 2016
@MaxBenChrist MaxBenChrist deleted the performance branch December 19, 2016 16:16
@nils-braun nils-braun added this to the Speed milestone Dec 26, 2016
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.

4 participants