elphick.sklearn_viz.model_selection.cross_validation.CrossValidatorBase
- class elphick.sklearn_viz.model_selection.cross_validation.CrossValidatorBase(estimators, datasets, target, pre_processor, cv, scorer, metrics, group, random_state, n_jobs=1, verbosity=1)[source]
- __init__(estimators, datasets, target, pre_processor, cv, scorer, metrics, group, random_state, n_jobs=1, verbosity=1)[source]
Methods
__init__
(estimators, datasets, target, ...)calculate_metrics
(x, y, estimators, indices, ...)cross_validate_task
(data_key, data, ...)get_cv_metrics
(metrics[, by_group])- rtype:
DataFrame
get_cv_scores
()get_model_by_group_data
(estimator, dataset)- rtype:
tuple
[DataFrame
,DataFrame
]
plot
([metrics, show_group, title, col_wrap])Attributes
n_cores
results