sdm_spec_boost_tree {tidysdm} | R Documentation |
Model specification for a Boosted Trees model for SDM
Description
This function returns a parsnip::model_spec for a Boosted Trees model to
be used as a classifier of presences and absences in Species Distribution Model.
It uses the library xgboost
to fit boosted trees; to use another library, simply build the
parsnip::model_spec directly.
Usage
sdm_spec_boost_tree(..., tune = c("sdm", "all", "custom", "none"))
Arguments
... |
parameters to be passed to |
tune |
character defining the tuning strategy. Valid strategies are:
|
Value
a parsnip::model_spec of the model.
See Also
Other "sdm model specifications":
sdm_spec_gam()
,
sdm_spec_glm()
,
sdm_spec_maxent()
,
sdm_spec_rand_forest()
Examples
standard_bt_spec <- sdm_spec_boost_tree()
full_bt_spec <- sdm_spec_boost_tree(tune = "all")
custom_bt_spec <- sdm_spec_boost_tree(tune = "custom", mtry = tune())