EvaluateLinearModel | R Documentation |
Function for evaluating linear model performance
EvaluateLinearModel(
mdl.fit,
x.test,
y.test,
groups,
eval.metric,
do.scale = T,
min.cells = 3
)
mdl.fit |
Linear model fit on training data |
x.test |
Test design matrix |
y.test |
Test response |
groups |
Perturbation dictionary (in list format) or named vector |
eval.metric |
Model evaluation metric |
do.scale |
Whether to scale response before evaluation (only applies to pearson & spearman metrics) |
min.cells |
Minimum cells per group to include in evaluation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.