powered by
Estimate the ordinal-valued tensor entries given latent parameters and a type of estimations
estimation(theta,omega,type = c("mode","mean","median"))
a continuous-valued tensor (latent parameters)
the cut-off points
type of estimations:
"mode" specifies argmax based label estimation
"mode"
"mean" specifies mean based label estimation
"mean"
"median" specifies median based label estimation
"median"
an estimated ordinal tensor given latent parameters and a type of estimations
Lee, C., & Wang, M. (2020). Tensor denoising and completion based on ordinal observations. arXiv preprint arXiv:2002.06524.
# NOT RUN { indices <- c(10,20,30) arr <- array(runif(prod(indices),-2,2),dim = indices) b <- c(-1.5,0,1.5) r_predict <- estimation(arr,b,type = "mode");r_predict # }
Run the code above in your browser using DataLab