Skip to contents

CP Tensor Decomposition with C++ acceleration

Usage

tensorDecompositionCpp(
  networkList,
  K = 3L,
  maxIter = 1000L,
  maxError = 1e-05,
  nDecimal = 3L
)

Arguments

networkList

List of network matrices

K

Rank of decomposition

maxIter

Maximum iterations

maxError

Convergence threshold

nDecimal

Decimal places for output

Value

List with reconstructed network and factors