Learn R Programming

rtemis (version 1.4.3)

setup_NMF: Setup NMF config.

Description

Setup NMF config.

Usage

setup_NMF(k = 2L, method = "brunet", nrun = 1L, features = NULL)

Value

NMFConfig object.

Arguments

k

Integer [1, Inf): Number of components.

method

Character: NMF method. See NMF::nmf.

nrun

Integer [1, Inf): Number of runs to perform.

features

Optional Character vector: Names of at least 2 distinct feature columns to decompose. NULL decomposes all numeric features.

Author

EDG

Examples

Run this code
nmf_config <- setup_NMF(k = 3L)
nmf_config

Run the code above in your browser using DataLab