canFit: Testing Compatibility of Algorithm and Models

Description Usage Arguments Methods (by generic) See Also

Description

canFit is an S4 generic that tests if an algorithm can fit a particular model.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
canFit(x, y, ...)

## S4 method for signature 'NMFStrategy,character'
canFit(x, y, exact = FALSE)

## S4 method for signature 'NMFStrategy,NMF'
canFit(x, y, ...)

## S4 method for signature 'character,ANY'
canFit(x, y, ...)

Arguments

x

an object that describes an algorithm

y

an object that describes a model

...

extra arguments to allow extension

exact

for logical that indicates if an algorithm is considered able to fit only the models that it explicitly declares (TRUE), or if it should be considered able to also fit models that extend models that it explicitly fits.

Methods (by generic)

See Also

Other regalgo: nmfAlgorithm()


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