Debian Codegraph @

man/mae.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/mae.R
3 \name{mae}
4 \alias{mae}
5 \alias{mae.default}
6 \alias{mae.glm}
7 \alias{mae.randomForest}
8 \alias{mae.glmerMod}
9 \alias{mae.gbm}
10 \alias{mae.rpart}
11 \title{Mean absolute error}
12 \usage{
13 mae(...)
14
15 \method{mae}{default}(actual, predicted, ...)
16
17 \method{mae}{glm}(modelObject, ...)
18
19 \method{mae}{randomForest}(modelObject, ...)
20
21 \method{mae}{glmerMod}(modelObject, ...)
22
23 \method{mae}{gbm}(modelObject, ...)
24
25 \method{mae}{rpart}(modelObject, ...)
26 }
27 \arguments{
28 \item{\dots}{additional parameters to be passed the the s3 methods}
29
30 \item{actual}{A vector of the labels}
31
32 \item{predicted}{A vector of predicted values}
33
34 \item{modelObject}{the model object. Currently supported \code{glm, randomForest, glmerMod, gbm}}
35 }
36 \description{
37 Calculates the mean absolute error
38 }