cleanlab多标签置信学习
1.目标使用cleanlab进行置信学习,找出多标签分类任务中标注错误的数据。2.代码示例2.1 单标签from cleanlab.pruning import get_noise_indicesimport numpy as nps = np.array([0,1,0,2,1,0,1]) #s是numpy array,但标签的原始标签集合以一个列表表示psx = np.array([[0.1,0.1,0.9],[0.1,0.9,0.0],[0.5,0.0,0.5],[0.6,0.1,
原创
2021-03-15 12:15:03 ·
1783 阅读 ·
11 评论