def test_stratified_dataset_validation_k_fold():
    skip_if_no_sklearn()
    mapping = {'dataset_iterator': 'StratifiedDatasetValidationKFold'}
    test_yaml = test_yaml_dataset_iterator % mapping
    trainer = yaml_parse.load(test_yaml)
    trainer.main_loop()
:name:
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/cross_validation/tests/test_dataset_iterators.py/test_stratified_dataset_validation_k_fold--crossover with--dataset/ETHPy150Open almet/flask-rest/flask_rest.py/RESTResource.__init__