Learn R Programming

rMultiNet (version 0.1)

InitializationMMSBM: Title A function for initialization

Description

Title A function for initialization

Usage

InitializationMMSBM(tnsr, m, k, rank = NULL)

Value

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

Arguments

tnsr

the tensor of 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

Examples

Run this code
tnsr = GenerateMMSBM(200, 3, 10, 2, d = NULL, r = NULL)
U_list = InitializationMMSBM(tnsr, 3, 2, rank = NULL)

Run the code above in your browser using DataLab