mayer79 / flashlight

Machine learning explanations
https://mayer79.github.io/flashlight/
GNU General Public License v2.0
22 stars 4 forks source link

trim_sd argument? #46

Open mayer79 opened 3 years ago

mayer79 commented 3 years ago

Profile plots could benefit from a trim_sd argument, which would remove outliers before binning numeric variables. An outlier would e.g. be defined as a value > trim_sd standard deviations away from the mean .

pr <- light_profile(flash, v = "some_variable", trim_sd = 3)