fit_continuous: Estimating a signal tensor from a noisy and incomplete data...

Description Usage Arguments Value Examples

View source: R/signT.R

Description

Estimate a signal tensor from a noisy and incomplete data tensor using CP low rank tensor method.

Usage

1

Arguments

data

A given data tensor (possibly noisy and incomplete).

r

A rank of the signal tensor.

Value

The returned value is a list with components.

est An estimated signal tensor based on CP low rank tensor method.

U A list of factor matrices.

lambda A vector of tensor singular values.

Examples

 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 CP low rank tensor method
hatTheta = fit_continuous(Y,3)
print(hatTheta$est)

Chanwoost/tensorsign documentation built on Feb. 3, 2021, 12:01 a.m.