powered by
Predict ordinal-valued tensor entries given latent parameters and a type of estimations.
predict_ordinal(theta,omega,type = c("mode","mean","median"))
A predicted ordinal-valued tensor given latent parameters and a type of estimations.
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"
C. Lee and M. Wang. Tensor denoising and completion based on ordinal observations. International Conference on Machine Learning (ICML), 2020.
indices <- c(10,20,30) arr <- array(runif(prod(indices),-2,2),dim = indices) b <- c(-1.5,0,1.5) r_predict <- predict_ordinal(arr,b,type = "mode");r_predict
Run the code above in your browser using DataLab