Description Usage Arguments Value References Examples
Estimate a signal tensor from a noisy and incomplete data tensor using nonparametric tensor method via sign series.
1 | SignT(Y,truer,H,Lmin,Lmax,option = 1)
|
Y |
A given (possibly noisy and incomplete) data tensor. |
truer |
Sign rank of the signal tensor. |
H |
Resolution parameter. |
Lmin |
Minimum value of the signal tensor (or minimum value of the tensor Y). |
Lmax |
Maximum value of the signal tensor (or maximum value of the tensor Y). |
option |
A large margin loss to be used. Use logistic loss if |
The returned object is a list of components.
fitted
- A series of optimizers that minimize the weighted classification loss at each pi.
est
- An estimated signal tensor based on nonparametic tensor method via sign series.
Lee, C., & Wang, M. (2021). Beyond the Signs: Nonparametric Tensor Completion via Sign Series. arXiv preprint arXiv:2102.00384.
1 2 3 4 5 6 7 8 9 10 11 | library(rTensor)
indices = c(2,3,4)
noise = rand_tensor(indices)@data
Theta = array(runif(prod(indices),min=-3,max = 3),indices)
# The signal plus noise model
Y = Theta + noise
# Estimate Theta from nonparametic completion method via sign series
hatTheta = SignT(Y,truer = 3,H = 3,Lmin = -3,Lmax = 3, option =1)
print(hatTheta$est)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.