nmf: Run NMF using a count matrix

Description Usage Arguments Value

View source: R/NMF_funcs.R

Description

Run NMF using a count matrix

Usage

1
nmf(counts, K, max_iter = 50, thresh = 1e-04, seed = NULL)

Arguments

counts

matrix of word counts

K

internal dimension of matrix factors

max_iter

the maximum number of iterations to run

thresh

threshold for L convergence, (L_i - L_i-1)/L_i < thresh

seed

for the random initalisation of factors W and H

Value

A list of all parameters


g-l-mansell/MSLDA documentation built on Dec. 20, 2021, 9:43 a.m.