View source: R/sdm_spec_boost_tree.R
sdm_spec_boost_tree | R Documentation |
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.
sdm_spec_boost_tree(..., tune = c("sdm", "all", "custom", "none"))
... |
parameters to be passed to |
tune |
character defining the tuning strategy. Valid strategies are:
|
a parsnip::model_spec of the model.
Other "sdm model specifications":
sdm_spec_gam()
,
sdm_spec_glm()
,
sdm_spec_maxent()
,
sdm_spec_rand_forest()
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::tune())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.