R/pred.xgboost.R

Defines functions pred.xgboost

pred.xgboost <- function(preds, dtrain) {
   return(list(metric = "pred", value = (preds) ))
}

Try the twang package in your browser

Any scripts or data that you put into this service are public.

twang documentation built on May 29, 2024, 4:40 a.m.