Skip to content
Snippets Groups Projects
Commit 09538a77 authored by Nathalie Vialaneix's avatar Nathalie Vialaneix
Browse files

fixed a minor bug in variable importance names

parent c08411bd
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ predict_rf <- function(summaries, target, input_groups, selection = "none",
}
return(out)
}, simplify = FALSE)
names(orig_importance) <- names(summaries)
names(orig_importance) <- summary_names
out <- list("mse" = all_mse, "importances" = orig_importance)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment