Re: [R] Problem while predicting in regression trees

2016-05-10 Thread Muhammad Bilal
ga2.akin...@live.uwe.ac.uk> From: Max Kuhn Sent: 09 May 2016 23:22:30 To: Muhammad Bilal Cc: Bert Gunter; r-help@r-project.org Subject: Re: [R] Problem while predicting in regression trees I've brought this up numerous times... you shouldn't use `pr

Re: [R] Problem while predicting in regression trees

2016-05-09 Thread Max Kuhn
anks and > > > Kind Regards > > > > -- > Muhammad Bilal > Research Fellow and Doctoral Researcher, > Bristol Enterprise, Research, and Innovation Centre (BERIC), > University of the West of England (UWE), > Frenchay Campus, > Bristol, > BS16 1QY > > *muh

Re: [R] Problem while predicting in regression trees

2016-05-09 Thread Muhammad Bilal
project.org Subject: Re: [R] Problem while predicting in regression trees Why are you predicting from tr_m$finalModel instead of from tr_m? Bill Dunlap TIBCO Software wdunlap tibco.com<http://tibco.com> On Mon, May 9, 2016 at 11:46 AM, Muhammad Bilal mailto:muhammad2.bi...@live.uwe.ac.uk>

Re: [R] Problem while predicting in regression trees

2016-05-09 Thread William Dunlap via R-help
earch Fellow and Doctoral Researcher, > Bristol Enterprise, Research, and Innovation Centre (BERIC), > University of the West of England (UWE), > Frenchay Campus, > Bristol, > BS16 1QY > > muhammad2.bi...@live.uwe.ac.uk<mailto:muhammad2.bi...@live.uwe.ac.uk> > > &

Re: [R] Problem while predicting in regression trees

2016-05-09 Thread Muhammad Bilal
muhammad2.bi...@live.uwe.ac.uk<mailto:olugbenga2.akin...@live.uwe.ac.uk> From: Max Kuhn Sent: 09 May 2016 17:22:22 To: Muhammad Bilal Cc: Bert Gunter; r-help@r-project.org Subject: Re: [R] Problem while predicting in regression trees It is extremely difficult to tell wh

Re: [R] Problem while predicting in regression trees

2016-05-09 Thread Muhammad Bilal
ay Campus, Bristol, BS16 1QY muhammad2.bi...@live.uwe.ac.uk<mailto:muhammad2.bi...@live.uwe.ac.uk> From: Bert Gunter mailto:bgunter.4...@gmail.com>> Sent: 09 May 2016 01:42:39 To: Muhammad Bilal Cc: r-help@r-project.org<mailto:r-help@r-project.org> Subject:

Re: [R] Problem while predicting in regression trees

2016-05-09 Thread Max Kuhn
ation Centre (BERIC), > University of the West of England (UWE), > Frenchay Campus, > Bristol, > BS16 1QY > > muhammad2.bi...@live.uwe.ac.uk > > > ____________ > From: Bert Gunter > Sent: 09 May 2016 01:42:39 > To: Muhammad Bilal > Cc: r-help@r-project.org >

Re: [R] Problem while predicting in regression trees

2016-05-09 Thread Muhammad Bilal
9 To: Muhammad Bilal Cc: r-help@r-project.org Subject: Re: [R] Problem while predicting in regression trees It seems that the data that you used for prediction contained a level "Hospitals" for the sector factor that did not appear in the training data (or maybe it's the other way

Re: [R] Problem while predicting in regression trees

2016-05-08 Thread Bert Gunter
It seems that the data that you used for prediction contained a level "Hospitals" for the sector factor that did not appear in the training data (or maybe it's the other way round). Check this. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and s