Description Usage Arguments Value Examples
Predict new values, given the parameters of a trained FA model
1 |
p |
parameters of a fitted FA |
X_t_test |
a matrix containing the input data; their output values would be predicted |
checkArgs |
whether to check the arguments are valid; it takes more time to execute |
checkPositiveDefinite |
whether to check the covariance matrices are valid; it takes more time to execute |
a list containing the transposed predicted values ($values_t) and the covariance matrix associated with them ($Sigma_t)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | params <- faFit(X_t_unsupervised = house[1:20,2:3,drop=FALSE],
paramsNULL_nDimZ = 2,
params=NULL,
type="fa",
lambdaRidge=0,
checkArgs=FALSE,
checkPositiveDefinite=FALSE,
epsilon=1e-10,
maxIterations=100,
stopType="parameter",
turboEmMethods=NULL)
result <- faPredict(p = params,
X_t_test = house[21:26,2:3,drop=FALSE],
checkArgs=TRUE,
checkPositiveDefinite=FALSE)
result
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.