sparsity: Compute the sparsity of each NMF factor

sparsityR Documentation

Compute the sparsity of each NMF factor

Description

Compute the sparsity of each NMF factor

Usage

sparsity(object, ...)

## S4 method for signature 'nmf'
sparsity(object, ...)

Arguments

object

object of class nmf.

...

additional parameters

Details

For nmf models, the sparsity of each factor is computed and summarized or w and h matrices. A long data.frame with columns factor, sparsity, and model is returned.


zdebruine/RcppML documentation built on Sept. 13, 2023, 11:44 p.m.