View source: R/ela_classification.R
classify_optimization_problem | R Documentation |
Classify optimization problem using selected ELA features and Random Forest model trained on BBOB dataset.
classify_optimization_problem(fitness, lower, upper)
fitness |
fitness function, that returns a numerical value, to be classified. The domain should be at least two dimensional. |
lower |
numeric - lower bound of the domain, a vector of length equal to the decision variables. |
upper |
numeric - upper bound of the domain, a vector of length equal to the decision variables. |
Returns one of c("low-conditioning", "multimodal-adequate", "multimodal-weak", "separable", "unimodal").
f <- function(x) x[[1]] + x[[2]]
result <- classify_optimization_problem(fitness = f, lower = c(-5, -5), upper = c(5, 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.