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

Description Slots Methods

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.

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

algorithm

signature(object = "NMFSeed"): Returns the workhorse function of the seeding method described by object.

algorithm<-

signature(object = "NMFSeed", value = "function"): Sets the workhorse function of the seeding method described by object.

NMFSeed

signature(key = "NMFSeed"): Creates an NMFSeed based on a template object (Constructor-Copy), in particular it uses the same name.

show

signature(object = "NMFSeed"): Show method for objects of class NMFSeed



Search within the NMF package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.