NMF_HALS: HALS algorithm for NMF

View source: R/NMF_HALS.R

NMF_HALSR Documentation

HALS algorithm for NMF

Description

HALS algorithm for NMF

Usage

NMF_HALS(
  X,
  K,
  smooth_u = F,
  smooth_v = T,
  ord = 1,
  smooth_method = "trendfiltering",
  filter.number = 1,
  family = "DaubExPhase",
  pos_u,
  pos_v,
  maxiter = 100,
  printevery = 10,
  tol = 0.01
)

Arguments

X

N by p matrix

smooth_method

'trendfiltering', 'wavelet' or 'runmed'

pos_u, pos_v

position of observations

k

number of topics


DongyueXie/stm documentation built on June 18, 2024, 11:01 a.m.