fit
and minfit
are S4
genetics that extract the best model object and the best
fit object respectively, from a collection of models or
from a wrapper object. fit<-
sets the fitted model in a fit object. It is
meant to be called only when developing new NMF
algorithms, e.g. to update the value of the model stored
in the starting point.
fit(object, ...) fit(object)<-value
minfit(object, ...)
nmf
.In the case of NMF models, the best model is the one that achieves the best approximation error, according to the objective function associated with the algorithm that performed the fit(s).