predict_inspre | R Documentation |
This function uses the mean((X - XG - ZB)**2) error formulation.
predict_inspre(res, .X, .beta, .targets)
res |
Inspre result. Result of running fit_inspre for a single or sequence of hyperparameter values. |
X |
observations x features data matrix. Colnames represent feature names. Rownames also correspond to feature names indicating an intervention was applied to that feature in that sample, with "control" indicating no intervention. |
beta |
Sequence of floats. Obsevered scale estimates of instrument effects. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.