Description Usage Arguments Value References Examples
Collins et al. (2001)'s Exponential Family PCA
1 2 3 4 |
x |
matrix of either binary, proportions, count, or continuous data |
k |
dimension |
family |
exponential family distribution of data |
weights |
an optional matrix of the same size as the |
quiet |
logical; whether the calculation should give feedback |
max_iters |
maximum number of iterations |
conv_criteria |
convergence criteria |
partial_decomp |
logical; if |
random_start |
whether to randomly initialize |
start_A |
initial value for |
start_B |
initial value for |
mu |
specific value for |
main_effects |
logical; whether to include main effects in the model |
method |
which algorithm to use. |
An S3 object of class gmf
which is a list with the
following components:
mu |
the main effects for dimensionality reduction |
A |
the |
B |
the |
family |
the exponential family of the data |
iters |
number of iterations required for convergence |
loss_trace |
the trace of the average deviance of the algorithm. Should be non-increasing |
prop_deviance_expl |
the proportion of deviance explained by this model.
If |
de Leeuw, Jan, 2006. Principal component analysis of binary data by iterated singular value decomposition. Computational Statistics & Data Analysis 50 (1), 21–39.
Collins, M., Dasgupta, S., & Schapire, R. E., 2001. A generalization of principal components analysis to the exponential family. In NIPS, 617–624.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.