EvaluateLinearModel: Function for evaluating linear model performance

View source: R/glmnet.R

EvaluateLinearModelR Documentation

Function for evaluating linear model performance

Description

Function for evaluating linear model performance

Usage

EvaluateLinearModel(
  mdl.fit,
  x.test,
  y.test,
  groups,
  eval.metric,
  do.scale = T,
  min.cells = 3
)

Arguments

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


yanwu2014/perturbLM documentation built on Aug. 24, 2023, 2:28 p.m.