Registry for NMF Algorithms
selectNMFMethod
tries to select an appropriate NMF
algorithm that is able to fit a given the NMF model.
getNMFMethod
retrieves NMF algorithm objects from
the registry.
existsNMFMethod
tells if an NMF algorithm is
registered under the
removeNMFMethod
removes an NMF algorithm from the
registry.
selectNMFMethod(name, model, load = FALSE, exact = FALSE,
all = FALSE, quiet = FALSE) getNMFMethod(...)
existsNMFMethod(name, exact = TRUE)
removeNMFMethod(name, ...)
selectNMFMethod
returns a character vector or
NMFStrategy
objects, or NULL if no suitable
algorithm was found.
name of a registered NMF algorithm
class name of an NMF model, i.e. a class
that inherits from class NMF
.
a logical that indicates if the selected
algorithms should be loaded into NMFStrategy
objects
a logical that indicates if all algorithms
that can fit model
should be returned or only the
default or first found.
a logical that indicates if the operation should be performed quietly, without throwing errors or warnings.
extra arguments passed to
pkgreg_fetch
or
pkgreg_remove
.
a logical that indicates if the access key
should be matched exactly (TRUE
) or partially
(FALSE
).