def _check_cv_conf(cfg):
    req_keys = ["stratified", "modelSelection", "crossval_score"]
    _check_conf(cfg, req_keys, cat="crossval")
    req_keys = ["foldsIterator", "funcMetric"]
    _check_conf(cfg["crossval_score"], req_keys, cat="crossval")
    if cfg["modelSelection"]:
        req_keys = ["foldsIterator", "funcMetric"]
        _check_conf(cfg, ["gridSearch"], cat="crossval")
        _check_conf(cfg["gridSearch"], req_keys, cat="crossval")
plan pre save
dataset/ETHPy150Open BenoitDamota/mempamal/mempamal/configuration.py/_check_cv_conf--crossover with--dataset/ETHPy150Open globocom/database-as-a-service/dbaas/physical/models.py/plan_pre_save