Closed Spandyie closed 4 years ago
There is a parameter called max_iter for the LogisticGAM class which is set to 100 by default. If you increase it, then the convergence should be achieved. Also, your n_spline values are too high in some cases, and therefore, the reliability of the model will be low; so consider changing that.
I am trying to run LogisticGAM with n_splines =10. The data sets has 13 variables, however I have been constantly getting convergence issue with LogisticGam. Following is what the message looks like
Link to the data set that I am trying to run is as follows: https://drive.google.com/file/d/11XfIHSB9boFZmYHaotJdsT6Gmsth9eTr/view?usp=sharing https://drive.google.com/file/d/1HTK8AjLN0ahFnLNPwjGc2x0UzOpvS1B7/view?usp=sharing
Link to my google colab notebook is https://colab.research.google.com/drive/1JM9YPMd3XQQBzcx6Raq4eoIpppUtEQG9