Learn R Programming

tensorBF (version 1.0.2)

undoFiberCentering: Postprocessing: Undo fiber Centering

Description

undoFiberCentering reverts the fiber's of the \(o^{th}\) mode to undo the centering effect.

Usage

undoFiberCentering(Yn, pre)

Arguments

Yn

the normalized tensor data. This can be, for example, the output of reconstructTensorBF.

pre

The centering parameters used for preprocessing in the format as produced by normFiberCentering.

Value

The data tensor after reversing the centering operation.

References

Kolda, Tamara G., and Brett W. Bader. "Tensor decompositions and applications." SIAM review 51.3 (2009): 455-500.

Examples

Run this code
# NOT RUN {
#Given tensor Y
# }
# NOT RUN {
Ycentered <- normFiberCentering(Y=Y,o=1)
# }
# NOT RUN {
Yuncentered <- undoFiberCentering(Ycentered$data,Ycentered$pre)
# }

Run the code above in your browser using DataLab