[Biomod-commits] Projection.raster ERROR

PEP Serra Diaz Josep.Serra at uab.cat
Wed Mar 9 02:31:02 CET 2011


Dear BIOMODers,

It may be a stupid question. First time I am seriously running Projection.raster function. I get this error :

WARNING: Could not find data for model ANN evaluation repetition 1 . Probable cause : failure when running Models() 
WARNING: Could not find data for model ANN evaluation repetition 2 . Probable cause : failure when running Models() 
WARNING: Could not find data for model ANN evaluation repetition 3 . Probable cause : failure when running Models() 
WARNING: Could not find data for model ANN evaluation repetition 4 . Probable cause : failure when running Models() 
WARNING: Could not find data for model ANN evaluation repetition 1 . Probable cause : failure when running Models() 
WARNING: Could not find data for model ANN evaluation repetition 2 . Probable cause : failure when running Models() 
WARNING: Could not find data for model ANN evaluation repetition 3 . Probable cause : failure when running Models() 
WARNING: Could not find data for model ANN evaluation repetition 4 . Probable cause : failure when running Models() 
.....
and so on for all models
...

RESULT: It creates projections full of NAs


I run the Models function as I normally do. I checked evaluation results and different models and their outputs after running Models(). Everything seems to work ok but projection. Here it is the whole R history:


Initial.State(Response=Sp.Env[,i], Explanatory=Sp.Env[,c("BIO1","BIO12","BIO14","BIO5","BIO6")], IndependentResponse=NULL, IndependentExplanatory=NULL, sp.name=naam[sp])

Models(GLM = T, TypeGLM = "quad", Test = "AIC", GBM = T, No.trees = 3000, GAM = T, CTA = T, CV.tree = 50, ANN = T, CV.ann = 2, SRE = F, FDA = T, MARS = T, RF = T, NbRunEval = 3, DataSplit = 70, Yweights=NULL, Roc=T, Optimized.Threshold.Roc=T, Kappa=T, TSS=T, KeepPredIndependent = F, VarImport=T, NbRepPA=3, strategy="random", nb.absences=5000)


Projection.raster(RasterProj = CurrentStack, Proj.name='CurrentRaster', GLM = T, GBM = T, GAM = T, CTA = T, ANN = T, SRE = F, FDA=T, MARS = T, RF = T, BinRoc = F, BinKappa = F, BinTSS = T, FiltRoc = F, FiltKappa = F, FiltTSS = F, repetition.models=T, stack.out=F)


> ls()
 [1] "Biomod.material"                               "Biomod.PA.data"                               
 [3] "Biomod.PA.sample"                              "CurrentBio1"                                  
 [5] "CurrentBio12"                                  "CurrentBio14"                                 
 [7] "CurrentBio5"                                   "CurrentBio6"                                  
 [9] "CurrentStack"                                  "DataBIOMOD"                                   
[11] "Evaluation.results.Kappa"                      "Evaluation.results.Roc"                       
[13] "Evaluation.results.TSS"                        "GBM.list"                                     
[15] "GBM.perf"                                      "isnullYweights"                               
[17] "naam"                                          "path"                                         
[19] "Proj_CurrentRaster_QUWI_BinTSS_PA1_ANN.raster" "root"                                         
[21] "Sp.Env"                                        "sp.name"                                      
[23] "VarImportance"                                



 




Pep Serra Díaz

Despatx C1/211
Unitat de Botànica.
Departament de Biologia Animal, Biologia Vegetal i Ecologia.
Facultat de Biociències. Edifici C. Campus de Bellaterra
Universitat Autònoma de Barcelona
08193 Cerdanyola del Vallès
Spain




More information about the Biomod-commits mailing list