diff --git a/index.html b/index.html index e66cb47..20465be 100644 --- a/index.html +++ b/index.html @@ -144,13 +144,13 @@

Examples# Fit the MFAI model mfairObject <- fitGreedy(mfairObject, sf_para = list(verbose_loop = FALSE)) #> Set K_max = 2! -#> Initialize the parameters of factor 1...... -#> After 1 iterations Stage 1 ends! -#> After 43 iterations Stage 2 ends! +#> Initialize the parameters of Factor 1...... +#> After 2 iterations Stage 1 ends! +#> After 77 iterations Stage 2 ends! #> Factor 1 retained! -#> Initialize the parameters of factor 2...... -#> After 1 iterations Stage 1 ends! -#> After 40 iterations Stage 2 ends! +#> Initialize the parameters of Factor 2...... +#> After 2 iterations Stage 1 ends! +#> After 76 iterations Stage 2 ends! #> Factor 2 retained! # Prediction based on the low-rank approximation @@ -159,15 +159,15 @@

Examples # Root-mean-square-error sqrt(mean((Y_obs - Y_hat)^2)) -#> [1] 12.22526 +#> [1] 12.23344 # Predicted/true matrix variance ratio var(as.vector(Y_hat)) / var(as.vector(Y_obs)) -#> [1] 0.471485 +#> [1] 0.4714952 # Prediction/noise variance ratio var(as.vector(Y_hat)) / var(as.vector(Y_obs - Y_hat)) -#> [1] 0.9884637 +#> [1] 0.9871629