[API 2]: CFI, PFI, LOCO#372
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #372 +/- ##
==========================================
+ Coverage 98.94% 99.06% +0.12%
==========================================
Files 23 21 -2
Lines 1424 1393 -31
==========================================
- Hits 1409 1380 -29
+ Misses 15 13 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
jpaillard
left a comment
There was a problem hiding this comment.
It looks good but the diff seems very large for this small change.
Is there a reason for all the other modifications?
|
I reorganize a bit the parameter in the init and move the docstring to the class because in all the other classes, I plan to do this. By looking into more details, I miss some parts being added. I will add it and ask you to review it after. Sorry for it. |
bthirion
left a comment
There was a problem hiding this comment.
This PR is definitely an improvement, thx.
Co-authored-by: Joseph Paillard <joseph.paillard@inria.fr>
bthirion
left a comment
There was a problem hiding this comment.
Thx for the progress. Please find a few suggestions enclosed.
Co-authored-by: bthirion <bertrand.thirion@inria.fr>
Co-authored-by: Joseph Paillard <joseph.paillard@inria.fr>
bthirion
left a comment
There was a problem hiding this comment.
No further comment than those raised by @jpaillard
|
Regarding the statistical test, the current issue is that the cross-validation scheme has not yet been implemented. Currently, the statistical test is performed using a single train/test split. In that case, when considering the loss values for each individual sample of the test set, they can be considered as independent and we could use ttest instead of nb-ttest as the default. The NB-t-test actually needs to be the default when CV is used, and losses over test sets cannot be considered as independent. The comment regarding the nb-ttest implementation remains valid; however, the test fraction shouldn't be hardcoded. I will follow up on #449 |
Let me know if that's good for you. Sorry for the confusion. |
|
@jpaillard I let you deal with this PR. |
|
I take the opportunity to rename the function |
bthirion
left a comment
There was a problem hiding this comment.
Very minor stuff pending. Thx !
Co-authored-by: bthirion <bertrand.thirion@inria.fr>
|
Sorry again for the confusion regarding the default test. I explained the choice a few comments above.
|
OK, makes sense. |
|
I think it's OK for merging. |
Update the model of CFI, PFI and LOCO for API 2.