PowerIteration {rMultiNet}R Documentation

Title

Description

Title

Usage

PowerIteration(
  tnsr,
  m,
  k,
  rank = NULL,
  type = "TWIST",
  U_0_list,
  delta1 = 1000,
  delta2 = 1000,
  max_iter = 5,
  tol = 1e-05
)

Arguments

tnsr

the adjacency tensor of the network

m

the number of types of the network

k

the number of groups of vertices

rank

the rank of the core tensor calculated by the equation

type

specifies the iterative algorithm to run ‘TWIST’ or ‘Tucker’

U_0_list

InitializationMMSBM outputs

delta1

tuning parameters for regularization in mode1

delta2

tuning parameters for regularization in mode2

max_iter

the max times of iteration

tol

the convergence tolerance

Value

a list including the core tensor Z, network embedding and node embedding

Examples

tnsr = GenerateMMSBM(200, 3, 10, 2, d = NULL, r = NULL)
U_list = InitializationMMSBM(tnsr, 3, 2, rank = NULL)
embed_list = PowerIteration(tnsr,3,2,rank=NULL,type="TUCKER",U_0_list=U_list)

[Package rMultiNet version 0.1 Index]