Description Usage Arguments Value Author(s) See Also Examples
To-do: Support for models other than random forest is pretty poor at the moment, this needs to be fixed.
1 2 | calculate_model(list_input_data, variables, model = "rf", ntree = NA,
mtry = 3, nodesize = 3, verbose = TRUE, output = NA)
|
list_input_data |
|
variables |
Variables to include in the model. |
model |
Model type to use. Can be: |
ntree |
Number of trees to grow for |
mtry |
Number of variables randomly sampled for splitting the |
nodesize |
Minimum size of terminal nodes for the |
verbose |
Should the models print progress if this is supported? |
output |
File name to export the model object as an |
Named list containing two data frames (contents of
list_input_data
) and a model object with the class
normalweatherr_model
.
Stuart K. Grange
split_input_data
,
normalise_for_meteorology
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# Calculate a random forest model
list_model <- calculate_model(
list_input_data = list_input_data,
variables = variables,
model = "rf",
ntree = 200,
output = NA,
mtry = 5,
nodesize = 1,
verbose = TRUE
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.