我有两个清单.
a = [0,0,1,1,1] # actual labels b = [1,1,0,0,1] # predicted labels
如何根据这些列表计算准确度?
python numpy
numpy ×1
python ×1