initRanMatsWithSeedsDS: Initialize variables with given seeds

View source: R/initRanMatsWithSeedsDS.R

initRanMatsWithSeedsDSR Documentation

Initialize variables with given seeds

Description

The initialization of server-side variables for method dsMTL_iNMF

Usage

initRanMatsWithSeedsDS(rank, X, seedH, seedHv, seedW)

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)

seedHv

The seed for random initialization of the heterogeneous component matrix (Hv)

seedW

The seed for random initialization of the heterogeneous component matrix (W)

Details

In dsMTL_iNMF, variable matrices were initialized as drawn from the uniform distribution U(0,2).

Value

The initialized variable matrices

Author(s)

Han Cao


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