Description Usage Arguments Value
xgBoost regression trees for LUR
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | xgboost_LUR(
variabledf,
max_depth,
eta,
xgb_lambda,
xgb_alpha,
nrounds,
gamma,
subsample,
y_varname = c("day_value", "night_value", "value_mean"),
training,
test,
grepstring,
...
)
|
variabledf |
the dataframe containing predictors and dependent variable |
y_varname |
name of the dependent variable. |
training |
the index for the rows used for training. |
test |
the index for the rows used for testing. |
grepstring |
the variable/column names of predictors in Lasso, grepl stlye, e.g. 'ROAD|pop|temp|wind|Rsp|OMI|eleva|coast' |
plot variable importance and an error matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.