Nested CV -> Hyperparameter Tuning and Model Selection Using scikit-learn RandomizedSearchCV and cross_val_score to create a Nested CV loop (model selection and hyperparameter tuning). Data The data used in the notebook, Customer-Churn-Records.csv can be found in kaggle. More information about Nested CV What is nested cross-validation for Machine Learning Nested Cross-Validation for Machine Learning with Python My notes about CV and Nested CV Sckit-learn Documentation RandomizedSearchCV cross_val_score