Convergence of PL function during use of fitglme with Parfor loops

2 ビュー (過去 30 日間)
Seth Koenig
Seth Koenig 2022 年 7 月 15 日
コメント済み: Edric Ellis 2022 年 7 月 18 日
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 件のコメント
Edric Ellis
Edric Ellis 2022 年 7 月 18 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeParallel for-Loops (parfor) についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by