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?
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 useLSNMF
and need to passweight
andeps
. However.parameters=list(weight=weight)
doesn't work but directly passingweight=weight
works. Yet neither.parameters=list(eps=1e-12)
nor directly passingeps=1e-12
works. So what are the rules?