renozao / NMF

NMF: A Flexible R package for Nonnegative Matrix Factorization
139 stars 41 forks source link

how to use the .parameters to pass arguments? #152

Open JianghuiDu opened 4 years ago

JianghuiDu commented 4 years ago

It's not clear to me how to pass parameters for algorithms. In the docs it is said to pass the arguments as .parameters=list(). I was trying to use LSNMF and need to pass weight and eps. However .parameters=list(weight=weight) doesn't work but directly passing weight=weight works. Yet neither .parameters=list(eps=1e-12) nor directly passing eps=1e-12 works. So what are the rules?