Open gaow opened 3 months ago
@gaow With refine = TRUE
, susie is being called an additional 16 times, so this much longer running time isn't surprising. (However, it would be helpful if the refinement step provided more updates on its progress.)
One workaround would be to set max_iter
to a smaller value.
Thanks @pcarbo
One workaround would be to set max_iter to a smaller value
You mean in the "refine" codes? I think most of the time SuSiE converges in < 20 iterations anyways? It's the 16 times it is being called that seems a bit too much. In many other examples especially with larger sample size, it is much less than 16 times. I wonder if there is a way to fundamentally improve it ...
Yes, there is quite possibly room for improvement in the refinement step, but I don't have any clever ideas at the moment. Suggestions are welcome.
I have been using
susie()
withrefine=T
for various analysis. I noticed for smaller sample size it can take very long time to run. For example even with the simulated data shown in?susieR::susie
,It takes more than two minutes,
but without
refine
it's two seconds. @zouyuxin perhaps we should evaluate and improve the behavior ofrefine
-- have you noticed it when you develop that feature?