resultTable {ExhaustiveSearch} | R Documentation |
Overview of the top exhaustive search results
Description
Extract the top n
results of an exhaustive search and present them as a
data.frame
object.
Usage
resultTable(ESResult, n = Inf, insertStart = "")
Arguments
ESResult |
a result object from an exhaustive search. |
n |
number of results to be returned. The default ( |
insertStart |
used for additional spacing when printing. The value of
|
Details
The result of an exhaustive search is given by an object of class
ExhaustiveSearch, which is a list of encoded feature combinations and
performance values. This function decodes the feature combinations and
presents them in a data.frame
together with the respective performance
values
Value
A data.frame
with two columns. The first one shows the performance
values and the second shows the decoded feature set collapsed with plus
signs.
Author(s)
Rudolf Jagdhuber
See Also
Examples
## Exhaustive search on the mtcars data
data(mtcars)
ES <- ExhaustiveSearch(mpg ~ ., data = mtcars, family = "gaussian")
## Summary data.frame of the top 5 models
resultTable(ES, 5)
## Return a data.frame of all stored models
res <- resultTable(ES)
str(res)
## Add custom characters for printing
resultTable(ES, 1, " <-> ")