Plots the objective function value over iterations for nmfre and
nmf.sem objects. (For nmfkc and nmfae, plot methods
are defined in their respective source files.)
Arguments
- x
A fitted model object.
- ...
Additional graphical arguments passed to
plot.- which
For
plot.nmf.sem: which objective to plot. One of"full"(default;loss + penalties, the actual monotonically-decreasing quantity that the multiplicative updates minimize),"reconstruction"(Frobenius distance only, \(\| Y_1 - X B \|_F^2\)), or"both"(overlay both with a legend)."both"is useful for diagnosing whether regularization is actively shaping the solution: if the two curves diverge, the penalties are pulling the optimizer away from the pure least-squares minimum.
