batchglm icon indicating copy to clipboard operation
batchglm copied to clipboard

Make `init_par` a class Method

Open ilan-gold opened this issue 2 years ago • 1 comments

Right now, initialization of the parameters occurs on a per-model basis but generally the function is quite similar across different models. This should become a class method.

ilan-gold avatar Jul 28 '22 13:07 ilan-gold

I don't necessarily agree, because it doesn't only depend on the model but also on the specific "flavour". edgeR for example uses some fancy QR decomposition stuff to initialise the location params, while the dispersion params are fixed to e.g. 0.05, which needs to be translated to our case, which is then np.log(1 / 0.05) over all features. Let's wait till the stuff from #145, is merged.

picciama avatar Aug 05 '22 16:08 picciama