------------------------------------- | 0 | 608992800 | ------------------------------------- | 1 | 914680531 | ------------------------------------- | 2 | 461306120 | ------------------------------------- | 3 | 837144819 | ------------------------------------- | 4 | 495809817 | ------------------------------------- | 5 | 33319890 | ------------------------------------- | 6 | 41203073 | ------------------------------------- | 7 | 4929190 |对于该类别对应的像素值给出平衡样本loss中α的列表值
时间: 2023-08-27 22:18:53 浏览: 47
根据公式,可以计算每个类别对应的α值:
α0 = (1/8) / (608992800/(608992800+914680531+461306120+837144819+495809817+33319890+41203073+4929190)) = 0.046
α1 = (1/8) / (914680531/(608992800+914680531+461306120+837144819+495809817+33319890+41203073+4929190)) = 0.031
α2 = (1/8) / (461306120/(608992800+914680531+461306120+837144819+495809817+33319890+41203073+4929190)) = 0.063
α3 = (1/8) / (837144819/(608992800+914680531+461306120+837144819+495809817+33319890+41203073+4929190)) = 0.035
α4 = (1/8) / (495809817/(608992800+914680531+461306120+837144819+495809817+33319890+41203073+4929190)) = 0.059
α5 = (1/8) / (33319890/(608992800+914680531+461306120+837144819+495809817+33319890+41203073+4929190)) = 0.887
α6 = (1/8) / (41203073/(608992800+914680531+461306120+837144819+495809817+33319890+41203073+4929190)) = 0.717
α7 = (1/8) / (4929190/(608992800+914680531+461306120+837144819+495809817+33319890+41203073+4929190)) = 5.994
因此,该类别对应的像素值给出平衡样本loss中α的列表值为:[0.046, 0.031, 0.063, 0.035, 0.059, 0.887, 0.717, 5.994]。
阅读全文