[Biomod-commits] Error in newx$cptable[max(keep), 1L] <- cp : subscript out of bounds
jason b mackenzie
jasonbmackenzie at gmail.com
Tue Feb 7 05:06:49 CET 2012
Dear all,
I recently had a BIOMOD run crash mid-stream after 20+ species appear to have run successfully. The error message is pasted below. Any ideas or workarounds?
...
##### ERFA2 #####
##### pseudo-absence run 1 #####
Model=Artificial Neural Network
3 Fold Cross Validation + 3 Repetitions
Calibration and evaluation phase: Nb of cross-validations: 3
Evaluating Predictor Contributions in ANN ...
Model=Classification tree
50 Fold Cross-Validation
Error in newx$cptable[max(keep), 1L] <- cp : subscript out of bounds
> warnings()
Warning messages:
1: In predict.lm(object, newdata, se.fit, scale = 1, type = ifelse(type == ... :
prediction from a rank-deficient fit may be misleading
2: In cor(g.pred[, ], as.integer(.Rescaler4(as.numeric(predict(model.sp, ... :
the standard deviation is zero
...
FYI, not sure if this matters, but my starting conditions were set as follows:
Initial.State(Response=SP.ENV[,12:75], Explanatory=SP.ENV[,4:11], IndependentResponse=NULL,
IndependentExplanatory=NULL)
Models(GLM = FALSE, GAM = TRUE, Spline=4, GBM = TRUE, No.trees = 3000, CTA = TRUE, CV.tree = 50, ANN = TRUE, CV.ann = 3,
SRE = TRUE, quant = 0.025, FDA = TRUE, MARS = TRUE, RF = TRUE, NbRunEval = 3, DataSplit = 70,
Yweights = NULL, Roc = TRUE, Optimized.Threshold.Roc = TRUE, Kappa = TRUE, TSS = TRUE,
KeepPredIndependent = FALSE, VarImport = 5, NbRepPA = 2, strategy = "sre", nb.absences = 1000)
Thanks in advance for any help!
Cheers,
Jason
--
jason b mackenzie
80 banambila street
aranda, act 2614
0447 002 629 [mobile]
jasonbmackenzie [skype]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/biomod-commits/attachments/20120207/f40fdb71/attachment.html>
More information about the Biomod-commits
mailing list