sklearn Logistic Regression has many hyperparameters we could tune to obtain. Some of the most important ones are penalty, C, solver, max_iter and l1_ratio. In this video, we will use the hyperparameters in logistic regression and find the best combination using gridsearchcv.
This ensures we get the best logistic regression model for data. Also, most likely we will have the best accuracy.
Kaggle Kernel: https://www.kaggle.com/funxexcel/p2-logistic-regression-hyperparameter-tuning
GitHub: https://github.com/KunaalNaik/YouTube-Working-Files/tree/master/Machine%20Learning
#logisticregression #machinelearning #sklearn