Skip to contents

Initialize the parameters for the single factor MAFI model.

Usage

initSF(Y, Y_missing, Y_sparse, n_obs)

Arguments

Y

Main data matrix.

Y_missing

Logical. Whether the main data matrix is partially observed.

Y_sparse

Logical. Whether the main data matrix is in sparse mode.

n_obs

Integer. Total number of observed entries.

Value

MFAIRSingleFactor object containing the initial parameters for the single factor MAFI model.