You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found that the parameters init=random and max_iter=25 greatly improve the runtime (often by 2-3x) for this method without any detriment to quality (both methods give roughly the same reconstruction error in model.reconstruction_err_). Additionally, since initialize_components function immediately refines the results of GreedyROI using HALS, so using fewer iterations should not be an issue.
Would the maintainers consider switching to these NMF parameters by default or at least making them configurable via params.py?
The text was updated successfully, but these errors were encountered:
The end of the
GreedyROI
function ininitialization.py
usessklearn.decomposition.NMF
to estimate the background component in each patch:I have found that the parameters
init=random
andmax_iter=25
greatly improve the runtime (often by 2-3x) for this method without any detriment to quality (both methods give roughly the same reconstruction error inmodel.reconstruction_err_
). Additionally, sinceinitialize_components
function immediately refines the results ofGreedyROI
using HALS, so using fewer iterations should not be an issue.Would the maintainers consider switching to these
NMF
parameters by default or at least making them configurable viaparams.py
?The text was updated successfully, but these errors were encountered: