Re: [R] help! Error in using Boosting...

2009-07-12 Thread Patrick Connolly
On Fri, 10-Jul-2009 at 09:41AM -0700, Michael wrote: |> Here is my code: |> mygbm<-gbm.fit(y=mytraindata[, 1], x=mytraindata[, -1], |> interaction.depth=4, shrinkage=0.001, n.trees=2, bag.fraction=1, |> distribution="bernoulli") |> |> Here is the error: |> Error in gbm.fit(y = mytraindata[, 1

[R] help! Error in using Boosting...

2009-07-10 Thread Michael
Here is my code: mygbm<-gbm.fit(y=mytraindata[, 1], x=mytraindata[, -1], interaction.depth=4, shrinkage=0.001, n.trees=2, bag.fraction=1, distribution="bernoulli") Here is the error: Error in gbm.fit(y = mytraindata[, 1], x = mytraindata[, -1], interaction.depth = 4, : The dataset size is t