fit_continuous_cp: Signal tensor estimation from a noisy and incomplete data...

View source: R/signT.R

fit_continuous_cpR Documentation

Signal tensor estimation from a noisy and incomplete data tensor based on CP low rank tensor method.

Description

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

Usage

fit_continuous_cp(data,r)

Arguments

data

A given (possibly noisy and incomplete) data tensor.

r

A rank to be fitted (CP rank).

Value

The returned object is a list of 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

library(tensorregress)
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_cp(Y,3)
print(hatTheta$est)


TensorComplete documentation built on April 14, 2023, 9:10 a.m.