Open prismyoo1231 opened 1 year ago
Hello, I'm currently studying localized latent factor models and I'm trying to run the code. I prepared the data according to the manual and tried to run the multicontext function, but an error occurred.
This is my setting and code.
setting = data.frame( name = 'uvw3-F', has.u = FALSE, has.gamma = FALSE, nFactors = 33, nLocalFactors = 3, is.logistic = FALSE ) ans = run.multicontext( data.train = data.train, data.test=data.test, setting = setting, nSamples = 200, nBurnIn = 30, nIter = 30, out.dir="multi_results/");
max(obs$edge.context) is 11. So, I set the nLocalFactors = 3 and nFactors = 3*11 = 33. But, The following error occurs
Error in run.multicontext(data.train = data.train, data.test = data.test, : Please check input parameter 'setting' when calling function run.multicontext: setting$nFactors must = setting$nLocalFactors * max(obs$edge.context).
Am I misunderstanding the setting? I'd appreciate it if you could tell me what the problem is.
Thank you for providing good research and code.
Hello, I'm currently studying localized latent factor models and I'm trying to run the code. I prepared the data according to the manual and tried to run the multicontext function, but an error occurred.
This is my setting and code.
max(obs$edge.context) is 11. So, I set the nLocalFactors = 3 and nFactors = 3*11 = 33. But, The following error occurs
Am I misunderstanding the setting? I'd appreciate it if you could tell me what the problem is.
Thank you for providing good research and code.