offset.R

# for xgboost, use the setinfo after the Dmatrix is made
setinfo(xgtrain, "base_margin", log(d$exposure))
jlstiles/SLblip documentation built on May 7, 2019, 3:20 p.m.