healthcareai-r
healthcareai-r copied to clipboard
get_best_levels: cohesion_weight for regression
There is currently a user-customizable parameter that controls how to weight cohesion vs. ubiquity for classification (cohesion_weight
). It currently doesn't do anything for regression. But, there is a exponent on the variance / count
denominator (fixed at 0.5) that could be customizable via the cohesion_weight
parameter. The intuition is a bit tricky since it's on both terms, but it could be separated/figured out.