search for: xgbstpred2

Displaying 1 result from an estimated 1 matches for "xgbstpred2".

Did you mean: xgbstpred2.2
2018 Apr 03
0
xgboost: problems with predictions for count data [SEC=UNCLASSIFIED]
...] 10.04643 31.39230 # the expected predictions # Here are results from xgboost # use count:poisson library(xgboost) xgbst2.1 <- xgboost(data = as.matrix(sponge[, -c(3)]), label = sponge[, 3], max_depth = 2, eta = 0.001, nthread = 6, nrounds = 3000, objective = "count:poisson") xgbstpred2 <- predict(xgbst2.1, as.matrix(sponge.grid)) head(xgbstpred2) range(xgbstpred2) [1] 1.109032 4.083049 # much lower than expected table(xgbstpred2) 1.10903215408325 1.26556181907654 3.578040599823 4.08304929733276 # only four predictions, why? 36535...