USEPA / spmodel

spmodel: Spatial Statistical Modeling and Prediction in R
https://usepa.github.io/spmodel/
GNU General Public License v3.0
14 stars 0 forks source link

classification random forest #17

Closed ManuelSpinola closed 7 months ago

ManuelSpinola commented 7 months ago

Is it possible to fit a classification random forest in spmodel?

michaeldumelle commented 7 months ago

Thanks @ManuelSpinola for the inquiry. Currently, we only have random forests implemented for continuous response variables. However, we are considering adding functionality for binary, count, and skewed response variables in a future update. I can update you here if/when that happens!

ManuelSpinola commented 7 months ago

Thank you very much for your response.

In the meantime I use the argument from ranger, classification = TRUE , and appear to be working, but I think is not working when I use a random term, like year. Predictions are reported for every year.

El lun, 18 mar 2024 a las 12:09, Michael Dumelle @.***>) escribió:

Thanks @ManuelSpinola https://github.com/ManuelSpinola for the inquiry. Currently, we only have random forests implemented for continuous response variables. However, we are considering adding functionality for binary, count, and skewed response variables in a future update. I can update you here if/when that happens!

— Reply to this email directly, view it on GitHub https://github.com/USEPA/spmodel/issues/17#issuecomment-2004606617, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFI3FBZOKHZINW27EBS5JODYY4UU7AVCNFSM6AAAAABEXM3WE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBUGYYDMNRRG4 . You are receiving this because you were mentioned.Message ID: @.***>

-- Manuel Spínola, Ph.D. Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA @. @.> @.*** Teléfono: (506) 8706 - 4662 Sitio web institucional: ICOMVIS http://www.icomvis.una.ac.cr/index.php/manuel Sitio web personal: Sitio personal https://mspinola-sitioweb.netlify.app Blog sobre Ciencia de Datos: Blog de Ciencia de Datos https://mspinola-ciencia-de-datos.netlify.app

michaeldumelle commented 6 months ago

Thanks @ManuelSpinola. Because splmRF() has only been built and studied for continuous response variables, we currently do not know how well it performs when passing classification = TRUE to ranger::ranger(). Hence, we are not able to explicitly recommend using splmRF() with classification = TRUE at this time.

ManuelSpinola commented 6 months ago

Thank you very much.

El lun, 25 mar 2024 a las 16:33, Michael Dumelle @.***>) escribió:

@ManuelSpinola https://github.com/ManuelSpinola because splmRF() has only been built and studied for continuous response variables, we currently do not know how well it performs when passing classification = TRUE. Hence, we cannot explicitly recommend using splmRF() with classification = TRUE at this time.

— Reply to this email directly, view it on GitHub https://github.com/USEPA/spmodel/issues/17#issuecomment-2019037275, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFI3FB2K3N5SLFUPBELHBX3Y2CQ5LAVCNFSM6AAAAABEXM3WE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJZGAZTOMRXGU . You are receiving this because you were mentioned.Message ID: @.***>

-- Manuel Spínola, Ph.D. Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA @. @.> @.*** Teléfono: (506) 8706 - 4662 Sitio web institucional: ICOMVIS http://www.icomvis.una.ac.cr/index.php/manuel Sitio web personal: Sitio personal https://mspinola-sitioweb.netlify.app Blog sobre Ciencia de Datos: Blog de Ciencia de Datos https://mspinola-ciencia-de-datos.netlify.app