
Returns the results of a greedy multiple kernel search
Source:R/greedy_multiple_kernel_search.R
resultsMultipleKernelGreedySearch.RdReturns the results of a greedy multiple kernel search
Arguments
- obj
The
greedy_multiple_kernel_experimental_designobject where the search was run.- max_vectors
How many random allocation vectors you wish to return. The default is
NULLindicating you want all of them.- form
Which form should it be in? The default is
one_zerofor 1/0's orpos_one_min_onefor +1/-1's.
Examples
if (FALSE) { # \dontrun{
library(MASS)
data(Boston)
#pretend the Boston data was an experiment setting
#first pull out the covariates
X = Boston[, 1 : 13]
#begin the greedy design search
mk = initGreedyMultipleKernelExperimentalDesignObject(X,
max_designs = 100, num_cores = 3, kernel_names = c("mahalanobis", "gaussian"))
#wait
res = resultsMultipleKernelGreedySearch(mk, max_vectors = 2, form = "one_zero")
res$obj_vals
} # }