Convergence of PL function during use of fitglme with Parfor loops
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello Mathworks,
Hopefully third and final question about fitglme. Why does the peusdoliklihood (PL) method not converge during parfor loops within 100 iteractions (default) but does during for-loops? The defautl PL threshold is 1e-8 and this is being reached consistently when run with forloops but when I look at the PL error not parfor loops often with the PL error is around 2e-7 after 100 iteractions.
Thanks,
Seth
1 comentario
Edric Ellis
el 18 de Jul. de 2022
Do you have any concise reproduction steps that you can share here? I don't know enough about fitglme to be able to make too many sensible suggestions. There aren't many differences between computations running on the MATLAB client and on the workers. The intrinsic multithreadedness is one (you can use maxNumCompThreads(1) at the client to make it behave like a worker), and the other is the default random number generator state - more details here.
Respuestas (0)
Ver también
Categorías
Más información sobre Parallel for-Loops (parfor) en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!