Home > Mobile >  How to filter redundant features using shap.utils.hclust not only by visual inspection barplot?
How to filter redundant features using shap.utils.hclust not only by visual inspection barplot?

Time:03-22

I'm using shap.utils.hclust to figure out which features are redundant and following the enter image description here

My questions are:

  1. In the implementation why is enter image description here

    hierarchy.cut_tree(clustering, n_clusters=5)
    

    or

    hierarchy.cut_tree(clustering, height=.5)
    

    Output is cluster labels. Choose "any".

  • Related