Logistic Regression Hyperparameter Tuning Python