libuplift.model_selection.cv ============================ .. py:module:: libuplift.model_selection.cv Functions --------- .. autoapisummary:: libuplift.model_selection.cv.uplift_check_cv Module Contents --------------- .. py:function:: uplift_check_cv(cv, y, trt, n_trt, *, classifier=False, y_stratify=None) Return a correct crossvalidator cv and stratification target y_stratify. By default the returned stratification target is the treatment for regression and cross of treatment and target for classification. If y_stratify is provided it is used instead and returned unchanged. .. !! processed by numpydoc !!