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

[Feature] Mean Information Gain (MIG) and Fluctuation Complexity (FC) #674

Merged
merged 4 commits into from
Jul 14, 2022

Conversation

DominiqueMakowski
Copy link
Member

@DominiqueMakowski DominiqueMakowski commented Jul 9, 2022

@MartynaPlomecka I started taking a look at MIG and I started implemented it (see the change log), don't hesitate to review and if you want after Monday I can show you how to hop-on this PR and push some commits yourself ☺️

Based on https://github.com/MartynaPlomecka/Diversity-and-complexity-analysis-of-EEG-singal

  • MIG
  • Fluctuation Complexity (FC)
  • Multiscale version?
  • Use modulable delay ? instead of fixed to 1?

@codecov-commenter
Copy link

codecov-commenter commented Jul 9, 2022

Codecov Report

Merging #674 (415b655) into dev (f888cf3) will decrease coverage by 0.06%.
The diff coverage is 22.22%.

@@            Coverage Diff             @@
##              dev     #674      +/-   ##
==========================================
- Coverage   53.13%   53.07%   -0.07%     
==========================================
  Files         270      271       +1     
  Lines       12198    12225      +27     
==========================================
+ Hits         6481     6488       +7     
- Misses       5717     5737      +20     
Impacted Files Coverage Δ
neurokit2/complexity/information_gain.py 19.23% <19.23%> (ø)
neurokit2/complexity/__init__.py 100.00% <100.00%> (ø)
neurokit2/rsp/rsp_simulate.py 98.21% <0.00%> (-0.90%) ⬇️
neurokit2/signal/signal_fixpeaks.py 73.60% <0.00%> (+0.74%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f888cf3...415b655. Read the comment docs.

@pull-request-size pull-request-size bot added size/L and removed size/M labels Jul 14, 2022
@DominiqueMakowski
Copy link
Member Author

@MartynaPlomecka I am gonna merge this PR into dev because I want to add these indices in my under-revision structure of chaos study, but please do open a new PR to improve the description etc.

Also, I've exposed the delay which allows to build "words" from non-consecutive samples, potentially allowing to accommodate different sampling rates

@DominiqueMakowski DominiqueMakowski changed the title [Feature] Mean Information Gain (MIG) etc. [Feature] Mean Information Gain (MIG) and Fluctuation Complexity (FC) Jul 14, 2022
@DominiqueMakowski DominiqueMakowski merged commit d71dbe8 into dev Jul 14, 2022
@DominiqueMakowski DominiqueMakowski deleted the information_gain branch July 14, 2022 09:32
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 this pull request may close these issues.

2 participants