Re: [R] any r package can handle factor levels not in the training set

2015-01-13 Thread HelponR
own package. On Tue, Jan 13, 2015 at 8:59 AM, HelponR wrote: > Thanks for your reply. But I cannot control the data. > I am dealing with real world stream data. It is very normal that the test > data(when you apply model to do prediction) have new values that are not > seen in trainin

Re: [R] any r package can handle factor levels not in the test set

2015-01-13 Thread HelponR
i > > > > In the future please "provide commented, minimal, self-contained, > reproducible code." > > On Mon, Jan 12, 2015 at 9:00 PM, HelponR wrote: > > It looks like gbm, glm all has this issue > > > > I wonder if any R package is immune of this?

[R] any r package can handle factor levels not in the test set

2015-01-12 Thread HelponR
It looks like gbm, glm all has this issue I wonder if any R package is immune of this? In reality, it is very normal that test data has data unseen in training data. It looks like I have to give up R? Thanks! [[alternative HTML version deleted]]

[R] how to scientific notation numbers

2008-03-21 Thread HelponR
Hi, Sorry I have to bother you a question. I have a file with each line like this: 6.5500e+004 2.82350001e+000 3.2000e+001 1.1580e+003 2.4400e+002 5.9800e+002 2.2700e+002 3.9031e+001 -1.21370