Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在文档中,它将 average_precision_score 描述为精确召回曲线下的区域。我无法理解该区域的含义?
该指标与原始精度得分有何不同。
精确召回曲线绘制了不同概率阈值的精确度和召回率p。对于p=0,所有内容都归类为 1,因此召回率将是 100%,而精度将是测试数据集中 1 的比例。对于p=1,没有任何东西被归类为 1,因此召回率为 0%,精度为 0。对于p=0.5,这就是precision_score告诉您的信息,但是,您可能不想在最终模型中使用此阈值,您将选择取决于您愿意容忍的误报数量的不同阈值。因此,平均精度分数为您提供了所有不同阈值选择的平均精度。
p
p=0
p=1
p=0.5
precision_score