factorize.regr: factorize.regr

View source: R/factorizations.R

factorize.regrR Documentation

factorize.regr

Description

Get mixing proportions from the target data matrix and a matrix of latent factors

Usage

factorize.regr(D, Tt, A0 = NULL, precision = 1e-08)

Arguments

D

m by n matrix with mixture data

Tt

either a m by k matrix of k true latent components or a list of n such matrices, one per each column of D

A0

initialization for the mixture proportions matrix

precision

numerical tolerance of the optimization algorithm

Value

a list with elements:

A

matrix of mixing proportions

T

Tt used

rmse

RMSE of the regression model


lutsik/MeDeCom documentation built on Feb. 15, 2023, 11:32 a.m.