SyntaxFix
Write A Post
Hire A Developer
Questions
Explicitly specifying the max_iter resolves the warning as the default max_iter is 100. [For Logistic Regression].
max_iter
logreg = LogisticRegression(max_iter=1000)