Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

NMFSeed-class

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

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


NMF

Algorithms and Framework for Nonnegative Matrix Factorization (NMF)

v0.23.0
GPL (>= 2)
Authors
Renaud Gaujoux, Cathal Seoighe
Initial release
2020-07-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.