initMatricesDS: Initialize variables with given random seeds

View source: R/initMatricesDS.R

initMatricesDSR Documentation

Initialize variables with given random seeds

Description

The initialization of server-side variables for method dsMTL_iNMF

Usage

initMatricesDS(rank, X, seedH)

Arguments

rank

The rank of data matrix in factorization

X

The name of the data matrix for factorization

seedH

The seed for random initialization of the shared component matrix (H)

Details

In dsMTL_iNMF, variable matrices were initialized as drawn from the uniform distribution U(0,2). Since the heterogeneous component variables were updated locally, so only the seed of shared component matrix (H) were synchronized among all servers and client

Value

The initialized variable matrices

Author(s)

Han Cao


transbioZI/dsMTLBase documentation built on Jan. 20, 2025, 8:18 p.m.