[R] boost package help

From: maomao bao <feimaobaobao_at_hotmail.com>
Date: Mon, 02 Jun 2008 21:39:52 -0400


Is there anyone have some experience in the boost package. I used the logitboost function to do the two-class classification.  

This is the format I used.
logitboost(xtrain, ytrain, xtest, presel = 2, mfinal = 100) # with feature selection    

logitboost(xtrain, ytrain, xtest, presel = 0, mfinal = 100) # without feature selection  

xtrain is n*p, n is sample size, p is dimension  

The error is always like this  

Error in model.frame.default(formula = y ~ bx, weights = w/mean(w), na.action = function (x) : invalid type (list) for variable 'bx'    

I tried to implement by copying the original code of this function to track down but still I don't know what's the reason. Could somebody help me with that?
I greatly appreciate your help!  



        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 03 Jun 2008 - 01:49:44 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 03 Jun 2008 - 02:30:39 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive