mmpretrain/tests/test_data/test_datasets
Ma Zerun b39885d953
[Feature] Support K-fold cross-validation (#563)
* Support to use `indices` to specify which samples to evaluate.

* Add KFoldDataset wrapper

* Rename 'K' to 'num_splits' accroding to sklearn

* Add `kfold-cross-valid.py`

* Add unit tests

* Add help doc and docstring
2022-01-19 18:32:55 +08:00
..
test_common.py [Fix] Fix bug when using `ClassBalancedDataset` (#555) 2021-11-26 09:40:00 +08:00
test_dataset_utils.py [Docs] Add Copyright information. (#413) 2021-08-17 19:52:42 +08:00
test_dataset_wrapper.py [Feature] Support K-fold cross-validation (#563) 2022-01-19 18:32:55 +08:00
test_sampler.py [Fix] Fix test sampler bug. (#611) 2021-12-23 18:07:41 +08:00