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"))
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
Value
a parsnip::model_spec of the model.
See also
Other "sdm model specifications":
sdm_spec_boost_tree()
,
sdm_spec_gam()
,
sdm_spec_glm()
,
sdm_spec_rand_forest()
Examples
test_maxent_spec <- sdm_spec_maxent(tune = "sdm")
test_maxent_spec
#> maxent Model Specification (classification)
#>
#> Main Arguments:
#> feature_classes = tune::tune()
#> regularization_multiplier = tune()
#>
#> Computational engine: maxnet
#>
# setting specific values
sdm_spec_maxent(tune = "custom", feature_classes = "lq")
#> maxent Model Specification (classification)
#>
#> Main Arguments:
#> feature_classes = lq
#>
#> Computational engine: maxnet
#>