-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fix issue related to radius for MATLAB Multiscale Fuzzy Entropy #5
base: main
Are you sure you want to change the base?
Fix issue related to radius for MATLAB Multiscale Fuzzy Entropy #5
Conversation
@UNONONAN, please let me know your thoughts about this PR. |
@JSommerfeld36, please let me know your thoughts about this PR. |
Hi, |
@JSommerfeld36, thanks for your reply.
Speed improvement was not the intention.
This cannot be the same due to the doubled multiplication. Perhaps the difference would be negligible in some tests. But, computationally, there is no reason for the redundant duplication.
Please note that NONANLibrary/matlab/Ent_MS_Plus.m Line 67 in 0bf6a6f
Does it make sense? |
Can you please elaborate more fully your intention with this pull request. And, can you provide a worked out example that demonstrates the improvement? |
@UNONONAN, thanks for reopening this PR.
I was about to use the code in my research and found this error. Don't you think the second multiplication, i.e., line 137, is redundant? (If this is not the case or if you are not interested in external collaboration, feel free to reclose this PR)
I have no example of improvement. When I was studying the computations of multi-scale sample entropy and multi-scale fuzzy entropy, I found that both algorithms would have similar radius parameter. |
Hi, the radius times std has been occurred two times for Multiscale Fuzzy Entropy.
First, at the beginning:
NONANLibrary/matlab/Ent_MS_Plus.m
Line 33 in 0bf6a6f
Second, inside the Fuzzy_Ent function:
NONANLibrary/matlab/Ent_MS_Plus.m
Line 173 in 0bf6a6f