View source: R/plot_model_rankings.R
| plot_model_rankings | R Documentation |
Visualizes model rankings across multiple performance metrics.
plot_model_rankings(ranking)
ranking |
Output from
|
Rankings are typically based on metrics such as:
R-squared (R²)
Root Mean Squared Error (RMSE)
Residual Sum of Squares (RSS)
Akaike Information Criterion (AIC)
Bayesian Information Criterion (BIC)
This visualization helps identify models that consistently perform well across several evaluation criteria.
A ggplot2 object.
rank_models,
compare_models,
plot_model_performance
files <- example_data()
raw_data <- read_ankom(
files$ankom
)
metadata <- read_metadata(
files$metadata
)
gp <- process_ankom(
raw_data,
metadata,
headspace_ml = 210,
temperature_c = 39
)
groot_fit <- fit_groot(
gp
)
gompertz_fit <- fit_gompertz(
gp
)
comparison <- compare_models(
Groot = groot_fit,
Gompertz = gompertz_fit
)
ranking <- rank_models(
comparison
)
plot_model_rankings(
ranking
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.