79168174

Date: 2024-11-07 21:53:56
Score: 1
Natty:
Report link

Note that with the library superb (which I am the maintainer), you do not need to worry about aggregating the scores. Simply use

library(ggplot2)
library(superb)

superb(MeanDecreaseGini ~ Feature, data) +
    coord_flip() +
    theme_classic() +
    labs(
      x     = "Feature",
      y     = "Importance",
      title = "Feature Importance")

from which you get the plot with 95% confidence interval (default), or adding the option errorbar = "SE" to get standard error:

Mean plot with standard error

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Denis Cousineau