Re: [R] How to use BayesTree or RBF for predict

From: Mark Difford <mark_difford_at_yahoo.co.uk>
Date: Tue, 19 Feb 2008 12:00:06 -0800 (PST)

Hi André

>> I'm trying to use bart() ... but I can't predict my test data.

There is no predict() method, as such, but read ?pdbart very carefully, and work through the examples. The fitted/predicted values from a fit are in

bartobject$yhat.train.mean

It would be a good idea to read the two PDFs that the authors provide at

http://faculty.chicagogsb.edu/robert.mcculloch/research/rob-mcculloch-cv.html

I've had excellent results from BayesTree, with fits that rival those of Friedman's RuleFit, though the whole process takes a great deal longer.

HTH,
Mark.

andreBR wrote:
>
> Hi all,
>
> sorry for my english, but I don't speak yours language.
> I'm trying to use bart() and rbf(). The package I'm using now is
> "BayesTree" and "neural", respectively. I could create the models, but I
> can't predict my test data.
> Does anyone have such an experience? Any advice is appreciated!
>
> Thank you in advanced!.
>
>
> André
>

-- 
View this message in context: http://www.nabble.com/How-to-use-BayesTree-or-RBF-for-predict-tp15562371p15562524.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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 19 Feb 2008 - 20:06:20 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 19 Feb 2008 - 20:30:15 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