powered by
This function returns a parsnip::model_spec for a MaxEnt model to be used in Species Distribution Models.
sdm_spec_maxent(..., tune = c("sdm", "all", "custom", "none"))
a parsnip::model_spec of the model.
parameters to be passed to maxent() to customise the model. See the help of that function for details.
maxent()
character defining the tuning strategy. Valid strategies are:
"sdm" chooses hyper-parameters that are most important to tune for an sdm (for maxent, 'feature_classes' and 'regularization_multiplier')
"all" tunes all hyperparameters (for maxent, 'feature_classes' and 'regularization_multiplier', the same as with tune = "sdm")
"custom" passes the options from '...'
"none" does not tune any hyperparameter
Other "sdm model specifications": sdm_spec_boost_tree(), sdm_spec_gam(), sdm_spec_glm(), sdm_spec_rand_forest()
sdm_spec_boost_tree()
sdm_spec_gam()
sdm_spec_glm()
sdm_spec_rand_forest()
test_maxent_spec <- sdm_spec_maxent(tune = "sdm") test_maxent_spec # setting specific values sdm_spec_maxent(tune = "custom", feature_classes = "lq")
Run the code above in your browser using DataLab