Description Usage Arguments Examples
This function returns the best model.
1 | choosing_final_best(best_result, metric_df)
|
best_result |
A list containing information about parameters such as slopes, change-points, and stats such as RMSE. |
metric_df |
A data frame with columns "model_type" (string) and "scores" (numeric/integer). The score of a given model determines the pirority of that model type. |
1 2 3 4 5 6 | util = subset(unretrofit_utility, unretrofit_utility$bdbid == 'f3acce86'
& unretrofit_utility$energy_type == 'Elec')
result = run_model(util)
best_result = model_pass_func(result)
metric_df = data.frame(model_type = c('2P','3PC','3PH','4P','5P'), scores = c(1,2,3,4,5))
best_model = choosing_final_best(best_result, metric_df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.