Description Usage Arguments Value Examples
Fit S2FA to data via analytic solution
1 |
X_t |
train input data as design matrix (must be matrix, not data.frame), i.e. row = instance, column = feature/attribute |
Z_t |
train output data as design matrix (must be matrix, not data.frame), i.e. row = instance, column = feature/attribute |
type |
"unconstrained", "fa", or "ppca"; refers to psi |
lambdaRidge |
L2 regularization term; must be a number |
checkArgs |
whether to check the arguments are valid; it takes more time to execute |
final parameters learnt, i.e. a list containing nDimX, nDimZ, type, mu_z_,t Sigma_z_t, mu_t, lambda_t, psi_t. "_t" comes from "transpose"
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.