Base class that defines the interface for NMF seeding 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

  1. namecharacter string giving the name of the seeding strategy

  2. methodworkhorse 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

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

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

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

  4. showsignature(object = "NMFSeed"): Show method for objects of class NMFSeed