简体   繁体   中英

SCIKIT FastICA Maximum Number of Iterations

I'm getting the following error: "FastICA did not converge. Consider increasing tolerance or the maximum number of iterations".

So, considering the documentation here: http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.FastICA.html , what is the maximum number of iterations that I can plug into the max_iter parameter?

You can try to increase your max_iter. I had this error and increased the tolerance (tol) though and it seemed to remove the error.

Late to the game, but this still might be helpful for someone. I had the same error and increasing the max_iter parameter didn' actually help (it just took longer to get the same warning message).

What helped in my case was applying a stronger Highpass filter to the data (had to change it from 0.5Hz to 1Hz) before starting the ICA.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM