Learn R Programming

tidysdm (version 1.0.0)

sdm_spec_maxent: Model specification for a MaxEnt for SDM

Description

This function returns a parsnip::model_spec for a MaxEnt model to be used in Species Distribution Models.

Usage

sdm_spec_maxent(..., tune = c("sdm", "all", "custom", "none"))

Value

a parsnip::model_spec of the model.

Arguments

...

parameters to be passed to maxent() to customise the model. See the help of that function for details.

tune

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

See Also

Other "sdm model specifications": sdm_spec_boost_tree(), sdm_spec_gam(), sdm_spec_glm(), sdm_spec_rand_forest()

Examples

Run this code
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