rmw_model_statistics: Functions to extract model statistics from a model calculated with
rmw_calculate_model.
Description
Functions to extract model statistics from a model calculated with
rmw_calculate_model.
Usage
rmw_model_statistics(model)
rmw_model_importance(model, date_unix = TRUE)
Value
Tibble.
Arguments
model
A ranger model object from rmw_calculate_model.
date_unix
Should the date_unix variable be included in the
return?
Author
Stuart K. Grange
Details
The variable importances are defined as "the permutation importance
differences of predictions errors". This measure is unit-less and the values
are not useful when comparing among data sets.
# Extract statistics from the example random forest modelrmw_model_statistics(model_london)
# Extract importances from a model objectrmw_model_importance(model_london)