Question: python, need help coding for solver and tol..Create an instance of LogisticRegression, setting solver = 'saga' and tol = 0 . 1 . Use cross
python, need help coding for solver and tol..Create an instance of LogisticRegression, setting solver'saga' and tol Use crossvaluescore to estimate the model's outofsample performance on the dataset. Use fold CV with accuracy as the metric. Print the scores for each fold, as well as mean score. Round all scores to decimal places. my code: scores crossvalscorelrmod, scaler, y cv scoring'accuracy', njobs
printScores: scores.round
printCV Score: scores.meanround
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
