search for: dexfat

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

Did you mean: exfat
2008 Oct 15
0
gamboost partial fit prediction
...of the estimation, therefore the excerpt below is supposed to be only a part of my final solution). If the problem does not become more obvious I will provide more details. Thanks in advance, AS #### R code #### rm(list=ls(all=T)) library(mboost) data(bodyfat) ## Model fit bf_gam <- gamboost(DEXfat ~ ., data = bodyfat) aic <- AIC(bf_gam) fit <- bf_gam[mstop(aic)] ## partial prediction input <- fit$data$input i <- sort(unique(fit$ensemble[,1]))[1] a <- fit$ensembles[fit$ensemble[,1]==i] ### Why this does not work? a[[1]][[1]]$predict(newdata=90) [[alternative HTML version de...