visualize_parameter_values | R Documentation |
run_nsga2R_cluster
.visualize_parameter_values
will take as input the output of run_nsga2R_cluster
and visualize the data source weights and hyperparameters of the best and worst solutions
visualize_parameter_values(result_nsga2r, source_names, top_ns = c(5, 10, -10, -25))
result_nsga2r |
The output of |
source_names |
Character vector containing the names of the data sources. |
top_ns |
Numeric vector indicating how many of the best and worst solutions should be considered (negative values indicate the worst solutions; default: c(5, 10, -10, -25)). |
A list containing two ggplot objects, one for the data source weights and one for the hyperparameters.
## Not run:
results <- run_nsga2R_cluster(model_evaluation_optimization_nsga2r, varNo=n_param, objDim=n_obj,
lowerBounds=lower_bounds, upperBounds=upper_bounds, popSize = 360, tourSize = 2, generations = 15, ncores = 8)
# Visualize the best and worst 5 solutions
visualize_parameter_values(results, source_names, top_ns = c(5, -5))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.