Commit b1c4805
committed
Add LearningCurveSplitter class for learning curve evaluation
- Add LearningCurveSplitter to splitters.py that implements sklearn's
BaseCrossValidator interface for learning curve evaluation
- Support 'ratio' and 'per_class' data subsetting policies
- Support variable number of permutations per data size
- Update WithinSessionSplitter to expose inner splitter metadata
- Update WithinSessionEvaluation to detect and handle LearningCurveSplitter
- Add data_size and permutation columns to results when using learning curves
- Add comprehensive tests for LearningCurveSplitter
- Verified results match old _evaluate_learning_curve implementation exactly1 parent 2cd7fac commit b1c4805
File tree
4 files changed
+781
-379
lines changed- moabb
- evaluations
- tests
4 files changed
+781
-379
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments