How to improve accuracy

I have tried various learning rates like : 0.1 , 0.01 , 0.001 , 1e-3, 1e-4 ,… etc

I also tried to vary the max epochs like 100, 200, 300
but at max I was able to achieve 97%

I plotted the error functions as well ( some results were beyond expectations)

Then I also used scikit leran but then also I got 96% accuracy.

Now, what to do next ??

Hey @mananaroramail, I see you have achieved a pretty good accuracy of 97%. Some other things you can try are :

  1. Class Imbalance - Look for class imbalance in your data. Most classifiers in SkLearn including LogisticRegression have a class_weight parameter. Setting that to balanced might also work well in case of a class imbalance.

  2. Hyperparameter Tuning - Grid Search - You can improve your accuracy by performing a Grid Search to tune the hyperparameters of your model. For example in case of LogisticRegression , the parameter C is a hyperparameter. Scikit-Learn provides the GridSearchCV class for this. This article is also a good starting point.

Hope this helps. Best of Luck.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.