search for: gbmpred1

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

2018 Apr 03
0
xgboost: problems with predictions for count data [SEC=UNCLASSIFIED]
...34" "bs11" names(sponge.grid) [1] "easting" "northing" "tpi3" "var7" "entro7" "bs34" "bs11" range(sponge[, c(3)]) [1] 1 39 # count sample data # the expected predictions are: set.seed(1234) gbmpred1 <- gbmpred(sponge[, -c(3)], sponge[, 3], sponge.grid[, c(1:2)], sponge.grid, family = "poisson", n.cores=2) range(gbmpred1$Predictions) [1] 10.04643 31.39230 # the expected predictions # Here are results from xgboost # use count:poisson library(xgboost) xgbst2.1 <- xgboost(data...