-
Notifications
You must be signed in to change notification settings - Fork 14
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
WIP: reviewing new api #95
Conversation
Codecov Report
@@ Coverage Diff @@
## refactor_api #95 +/- ##
===============================================
Coverage ? 71.46%
===============================================
Files ? 30
Lines ? 729
Branches ? 0
===============================================
Hits ? 521
Misses ? 208
Partials ? 0 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@Datseris I think I'm done here. I only did a minor language changes, but API-wise, it looks good. DocumentationI really like the documentation now, and the extended clarification you added on the difference between probability and entropy estimation, and the non-consensus in the literature on terminology. I particularly like how the landing page turned out. It's an excellent idea to use the module documentation as the introductory paragraph. CII specified that CI should be run for PRs that are not directly to the It's a matter of preference if we should do this, but for me personally, it would greatly simplify the workflow, because I wouldn't need to install and uninstall packages such as APICiting from #89
I think we've struck a good balance between convenience and clutter in the current state of the code. No need for any further changes regarding this matter, if you ask me.
I'll refactor the PRs for the new complexity measures once we merge this to master.
The issue with I use SummaryThis is good to be merged with
|
Hm, I would disagree here especially if this is used in downstream packages. Downstream packages should be using only the exported API, after all. It makes the code clearer, and in the end, we shouldn't rely on the fact that we develop both. Maybe in the future it will not be the case! The first thing to first check if there is actually any substantial increase in performance for having this in-place methods. For the permutation entropy, I would imagine that counting the permutations and assigning their frequencies would be so much more than allocating one new vector. But maybe I am wrong. If there aren't substantial performance benefits, maybe it isn't even worthy to do this. In any case, if indeed we need the in place version, we should document it and export it. I guess we:
Does this sound reasonable? Yes, I also agree to do this in a separate PR btw. Thanks for the docs feedback. I am not done with the docs. I've structured it in such a way that I can just "include it immediatelly" in DynamicalSystems.jl. Once I am really done with this I'll try it out and tell you how it works so you can do the same in e.g., CausalityTools.jl |
Okay, I guess if you do this 1000 times in surrogate testing you get about 600 μicroseconds, but this would need to be compared to how much time it takes to do the permutation counting 1000 times with everything pre-allocated. |
Yes, that sounds reasonable. Let's revisit it when the refactoring has been merged with
We can do some testing in a separate PR. |
* Remove @show * Refactor nearest neighbors methods * Typos * Remove duplicate function * Reorganize docs * API renaming * Switch order of docs * Refactoring * Unnecessary capitalization * Further refactoring * Missing part of equation * Use new name * Add deprecations * Add note for single-symbol encoding in docstring * Add note for single-symbol encoding in docstring * Remove redundant note * Use @deprecate for genentropy * Add (preliminary) update message * [wip] reusable docs * re-write intro page * improve entropy wording * Complete re-organization of source code folders * correct includes state * finish first draft of docs new way (many TODOs left_) * Fix wavelet entropy docs * add docstrings to convenience calls * final touches * add documentation build phase * Add power spectrum probability estimator (#94) * add code and docstring for spectral entropy * add docs * even better test reorganization * add one more depth level * WIP: reviewing new api (#95) * Equivalent to, not equivalent with * Include dispersion entropy * Clearer wording * Symbolization routines need to be imported before estimators using them * Export in-place version. * Follow Julia's linting conventions * Run CI on all pull requests * Don't export in-place version * Missing a letter Co-authored-by: Datseris <[email protected]>
No description provided.