How can we get median MAE in caret

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How can we get median MAE in caret

NehaBologna
Hi, If I am using caret and MAE metric, how can we get median of MAE in
easy manner.

cart <-train(Result ~ ., data = tr,
method = "rf",
metric = "MAE",
preProc = c("center", "scale", "nzv"),
trControl = ctr)

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.