Fast Information Gain computation

前端 未结 3 453
离开以前
离开以前 2020-12-29 12:09

I need to compute Information Gain scores for >100k features in >10k documents for text classification. Code below works fine but f

3条回答
  •  孤独总比滥情好
    2020-12-29 12:59

    It is this code feature_not_set_indices = [i for i in feature_range if i not in feature_set_indices] takes 90% of the time, try to change to set operation

提交回复
热议问题