| summary.nmfkc | R Documentation |
nmfkcProduces a summary of an nmfkc object, including matrix dimensions,
runtime, fit statistics, and diagnostics.
## S3 method for class 'nmfkc'
summary(object, ...)
object |
An object of class |
... |
Additional arguments (currently unused). |
Anchors and identification. With the column scale of X
fixed, the fits (XT, T^{-1}\Theta) give the same X\Theta for
every invertible T with \mathbf 1^\top T = \mathbf 1^\top,
XT \ge 0 and T^{-1}\Theta \ge 0 (\Theta is C, or
B without covariates). An anchor row of X (a row
carrying one basis) and an anchor column of \Theta (a column
non-zero for one basis) for every basis force T to be a permutation;
anchors on one side are not enough (X = I_2 with
\Theta = [1\ 1;\ 1\ 2] has anchors in X and still a continuum
of equivalent fits).
The summary prints two lines of anchor purity, for X and for
\Theta: the smallest over the bases of the largest share a basis has
in a row of X (or a column of \Theta), the basis attaining it,
and how many bases have an anchor. The shares are plain shares; the
anchors are counted by the tolerances of the identification verdict: a row
of X with share at least 0.999, a column of \Theta whose other
entries are at most 1e-3 or at most 1\
one line of Identification, the verdict of
nmfkc.inference and the other inference functions: anchors in
X for every basis with the rows of \Theta pinned one at a time
(or the mirror route), a fixed column scale of X, and A of full
row rank. It is a sufficient condition on the fit, with the size of the
zeros it rests on (how much an equivalent fit can mix the bases); a fit
that fails it may still be unique. The verdict costs about Q^2K and
is computed when Q^2K \le 10^6; above that only anchors on both
sides are decided. The values are in anchors (and
fit$criterion$anchors): X.anchor.purity, X.anchor.row,
X.anchor (logical, per basis), C.anchor.purity,
C.anchor.col, C.anchor, anchor.both,
A.full.rank and tol; the verdict in identified.approx
and identification. With negative entries in \Theta it does
not apply. Up to 1.0.2 the summary printed a separability (the X side
alone) and returned separability, anchor.purity and
anchor.row; X.anchor.purity and X.anchor.row replace
them.
An object of class summary.nmfkc, containing summary statistics.
Among them, anchors, identified.approx and
identification; see Details.
nmfkc, nmfkc.inference, plot.nmfkc
Y <- matrix(cars$dist, nrow = 1)
A <- rbind(1, cars$speed)
result <- nmfkc(Y, A, rank = 1)
summary(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.