# 不均衡样本时的评价

在二分类问题中，当测试集的正例和负例数量不均衡时，以下评价方案哪个是相对不合理的（A）

（假设 precision=TP/(TP+FP),recall=TP/(TP+FN)。）

* A. Accuracy:(TP+TN)/all
* B.F-value:2*recall*precision/(recall+precision)
* C.G-mean:sqrt(precision\*recall)
* D.AUC:曲线下面积

<https://www.nowcoder.com/questionTerminal/4010d9eba4574364a130af401c1c31ea?orderByHotValue=0&pos=2&mutiTagIds=630>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://im-qianuxn.gitbook.io/pytorch/ji-suan-ji/ml/wen-da/bu-jun-hen-shi-de-ping-jia.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
