No, no, me equivoqué; para obtener las predicciones sobre el OOB es
predict(mymodel).
No lo conozco, pero si me lo recomiendas tu, lo probaré ;-)
Por cierto, encontré la forma directa de obtener las predicciones
sobre el OOB; tan sencillo como predict(mymodel, newdata=misdatos).
Quoting Carlos Ortega <c...@qualityexcellence.es>:
Y prefieres "randomForest" a "ranger"...??...
El 31 de mayo de 2018, 13:03, Manuel Mendoza <mmend...@mncn.csic.es>
escribió:
Gracias Carlos. No uso caret, pero lo miraré.
Quoting Carlos Ortega <c...@qualityexcellence.es>:
Hola,
Creo que si utilizas "caret" y en la función "trainControl()" defines
"oob"
como criterio de randomización, puedes luego recuperar del objeto del
modelo, las predicciones individuales...
Saludos,
Carlos Ortega
www.qualityexcellence.es
2018-05-31 12:56 GMT+02:00 Manuel Mendoza <mmend...@mncn.csic.es>:
Muy buenas, ¿sabe alguien cómo obtener las predicciones sobre el out of
bag que hace randomForest?
Manuel
.
--
Dr Manuel Mendoza
Department of Biogeography and Global Change
National Museum of Natural History (MNCN)
Spanish Scientific Council (CSIC)
C/ Serrano 115bis, 28006 MADRID
Spain
_______________________________________________
R-help-es mailing list
R-help-es@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-help-es
--
Saludos,
Carlos Ortega
www.qualityexcellence.es
--
Dr Manuel Mendoza
Department of Biogeography and Global Change
National Museum of Natural History (MNCN)
Spanish Scientific Council (CSIC)
C/ Serrano 115bis, 28006 MADRID
Spain
--
Saludos,
Carlos Ortega
www.qualityexcellence.es
--
Dr Manuel Mendoza
Department of Biogeography and Global Change
National Museum of Natural History (MNCN)
Spanish Scientific Council (CSIC)
C/ Serrano 115bis, 28006 MADRID
Spain
_______________________________________________
R-help-es mailing list
R-help-es@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-help-es
--
Dr Manuel Mendoza
Department of Biogeography and Global Change
National Museum of Natural History (MNCN)
Spanish Scientific Council (CSIC)
C/ Serrano 115bis, 28006 MADRID
Spain
_______________________________________________
R-help-es mailing list
R-help-es@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-help-es