I am doing some predictive modeling. Among various methods, I am also working with MARS. I always get a messages "earth glm PA: did not converge after 25 iterations" I tried some tips (such as adding maxit = 200) i got from stackoverflow, but no luck. The model was replicated for 10 times. I get the message for 6 to 10 times. which means, the problem was at worst in all replications.
May I know what will be consequence? and any idea how to resolve it.
library(sdm)
WE.mar<- sdm(PA~., data=dt.W, methods = c("mar"), replication='sub', test.percent=30, n = 10, maxit = 200)
Your suggestions are highly appreciated. Many thank in advance.