[Biomod-commits] Error in BRT and GAM

Joaquin DL jduquelazo at gmail.com
Thu Apr 18 12:23:09 CEST 2013


Dear all,

I am having this error running BRT and GAM.
How can I solve them?

Thanks.

Joaquín

Model=Generalised Boosting Regression
	 500 maximum different trees and  5  Fold Cross-ValidationError in
gbm.fit(x[i.train, , drop = FALSE][i, , drop = FALSE], y[i.train][i],
:
  The dataset size is too small or subsampling rate is too large:
nTrain*bag.fraction <= n.minobsinnodeIn addition: Warning
message:running command 'java' had status 1 Error in predict(model.bm,
Data[, expl_var_names, drop = FALSE], on_0_1000 = TRUE) :
  error in evaluating the argument 'object' in selecting a method for
function 'predict': Error: object 'model.bm' not found

   ! Note :  Pt.Test_AllData_RUN1_GBM failed!

Model=GAM
	 GAM_mgcv algorithm chosen
	User defined control args building..
	Automatic formula generation...
	> GAM (mgcv) modelling...Error in
smooth.construct.tp.smooth.spec(object, dk$data, dk$knots) :
  A term has fewer unique covariate combinations than specified
maximum degrees of freedomError in predict(model.bm, Data[,
expl_var_names, drop = FALSE], on_0_1000 = TRUE) :
  error in evaluating the argument 'object' in selecting a method for
function 'predict': Error: object 'model.bm' not found


More information about the Biomod-commits mailing list