Python sklearn分类:自定义objective评分函数
Python sklearn classification: customize objective score function
sklearn包中如何自定义评分功能?
比如在二分类问题中,不要将score设为"percentage of all correctly predicted labels",而是设为"percentage of all correctly predicted positive labels (label == 1)"
sklearn包中如何自定义评分功能?
比如在二分类问题中,不要将score设为"percentage of all correctly predicted labels",而是设为"percentage of all correctly predicted positive labels (label == 1)"