glmfit inside parfor (Iteration limit reached)
2 次查看(过去 30 天)
显示 更早的评论
I am running the glmfit inside the parfor loop. I have got the following error, however, when I run it inside for loop, I do not get any error. Is there any inconsistency between parfor and glmfit? I should make it parallel in order to save time.
Warning: Iteration limit reached. > In glmfit at 368 In parallel_function>make_general_channel/channel_general at 914 In remoteParallelFunction at 38
0 个评论
采纳的回答
Tushar Sinha
2015-11-3
Hi Marzi,
Iteration limit for "glmfit" is set to 100. This is a limitation and you cannot change this value unless you edit the function and change it manually. I work at Mathworks and I have forwarded this to the appropriate product team for consideration.
Meanwhile, you can look at the following MATLAB Answers link which talks about resolving a similar issue by modifying the code for "glmfit":
I hope this helps resolve the issue.
Thanks,
Tushar
更多回答(1 个)
Luca Martello
2016-11-27
编辑:Luca Martello
2016-11-27
Did you manage to solve this problem? I am gettin the same Warning and I don't know how to get out of it!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!