NMFSeed-class: Base class that defines the interface for NMF seeding...

Description Usage Arguments Slots Methods (by generic)

Description

This class implements a simple wrapper strategy object that defines a unified interface to seeding methods, that are used to initialise NMF models before fitting them with any NMF algorithm.

Usage

1
2
3
4
5
6
7
8
## S4 method for signature 'NMFSeed'
show(object)

## S4 method for signature 'NMFSeed'
algorithm(object)

## S4 replacement method for signature 'NMFSeed,'function''
algorithm(object) <- value

Arguments

object

an object of class NMFSeed.

value

object whose value is used to modify properties of the given object. See details for each method.

Slots

name

character string giving the name of the seeding strategy

method

workhorse function that implements the seeding strategy. It must have signature (object="NMF", x="matrix", ...) and initialise the NMF model object with suitable values for fitting the target matrix x.

Methods (by generic)

algorithm:

algorithm<-:

NMFSeed:

seed:

show:


renozao/NMF documentation built on June 14, 2020, 9:35 p.m.