-
Notifications
You must be signed in to change notification settings - Fork 2
[MRG] Add UNHaP experiments and documentation #21
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
Conversation
|
@tomMoral, now would be a good time for a review, before the number of lines changes is too big :) The experiment files |
tomMoral
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments but overall LGTM
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
…ne_, alpha_, kernel_, baseline_noise
tomMoral
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comment but otherwise, lgtm to merge like this
| ] | ||
|
|
||
| experiments = [ | ||
| "dicodile>=0.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need dicodile? To get the gait data?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes exactly. There are a few packages we need just for the ECG and gait experiments. I'll add them here.
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
|
This PR is now ready to merge on my side, @tomMoral do you want to check the latest updates or is it good to go? :) |
To do :
[x] homogenize docstring of FaDIn and UNHaP
[x] Add solvers benchmarked in the UNHaP paper
[x] Add UNHaP experiments
[x] Update README
[ ] Update pyproject.toml with optional dependencies for experiments.
[ ] More beginner-friendly tutorials.
[ ] More doc for UNHaP and its utility functions.
To do in a future PR:
[ ] Factorize UNHaP and FaDIn utility functions
This will not be so easy. For instance, during optimization, model parameters are stored as a list. And UNHaP has one more model parameter, the noise baseline. Another example: for fadin, events are floats, for unhap, they are arrays of size two. This means that between the two solvers, several functions have lots of code in common but are tricky to factorize robustly.
[x] add tests for UNHaP and FaDIn: