Description Usage Arguments Value Examples
Fit the models and rank them by their fitness.
1 2 | ranked_models(index, X, y, fit_func = AIC, family = gaussian,
cluster = NA)
|
index |
A list of indices of selected variables. |
X |
Data frame of all features |
y |
Dependent variable |
fit_func |
Function for fitness measurement. Default is AIC. |
family |
A description of the family of distributions to be used. |
a data frame containing index list and their respective fitness, sorted by fitness in ascending order
1 2 3 4 | X <- mtcars[-1]
y <- unlist(mtcars[1])
index <-initialize_parents(10,20)$index
ranked_models(index, X, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.