undoSlabScaling: Postprocessing: Undo Slab Scaling

Description Usage Arguments Value References Examples

View source: R/normalize.R

Description

undoSlabScaling reverts the slabs of the o^{th} mode to undo the scaling effect.

Usage

1
undoSlabScaling(Yn, pre)

Arguments

Yn

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

pre

The scaling values and mode used for preprocessing in the format as produced by normSlabScaling.

Value

The data tensor after reversing the scaling operation.

References

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

Examples

1
2
3
#Given tensor Y
## Not run: Yscaled <- normSlabScaling(Y=Y,o=2)
## Not run: Yunscaled <- undoSlabScaling(Yscaled$data,Yscaled$pre)

tensorBF documentation built on May 1, 2019, 8:39 p.m.