rmw_model_statistics: Functions to extract model statistics from a model calculated...

View source: R/rmw_model_statistics.R

rmw_model_statisticsR Documentation

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)

Arguments

model

A ranger model object from rmw_calculate_model.

date_unix

Should the date_unix variable be included in the return?

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.

Value

Tibble.

Author(s)

Stuart K. Grange

Examples


# Extract statistics from the example random forest model
rmw_model_statistics(model_london)

# Extract importances from a model object
rmw_model_importance(model_london)


rmweather documentation built on June 22, 2024, 9:33 a.m.