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

From: Mark Difford <>
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


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

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.


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:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
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 Please read the posting guide before posting to the list.

list of date sections of archive