Description Usage Arguments Value References
General exponential-family PCA algorithm, within which different family-specific bregman losses can be input.
1 2 |
obj_fun |
The main bregman loss function to attempt to minimize. See bern_breg() for an example of the required input / output format. |
obj_grad_a |
The derivative of the bregman loss with respect to the scores. See bern_brad_grad_a() for an example of the required input / output format. |
obj_grad_v |
The derivative of the bregman loss with respect to the loadings. See bern_brad_grad_a() for an example of the required input / output format. |
X |
The n x p binary matrix with samples along rows which we want to decompose using exponential family PCA. |
n_comp |
How many principal components should we return? |
n_cycle |
How many times should the iterative optimization pass through across each component? |
n_iter |
The maximum number of iterations to run the PCA. |
eps |
The convergence criterion. If the mean change in the scores is less than eps, we return. |
lambda |
The regularization parameter in the optimization. |
mu0 |
The value to regularize towards. |
verbose |
Print iterations of procedure? |
A list containing the converged values of A and V.
Collins, Michael, Sanjoy Dasgupta, and Robert E. Schapire. "A generalization of principal components analysis to the exponential family." Advances in neural information processing systems. 2001.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.