Description Usage Arguments Value Examples
The predict function for the mSIM package
1 | predict(Y, X, B, Y.true, X.pred)
|
Y |
The training index matrix |
X |
The training covariate matrix |
B |
The coefficient matrix |
Y.true |
The groundtruth for predicting index matrix |
X.pred |
The covariate matrix for prediction |
A list that contains the prediction result of Y and the MSE loss
1 | pred = predict(Y = Y, X = X, real.MSIM$B.sparse, Y.true = Y.true, X.pred = X.pred)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.