计算多类数据的不平衡比

2024-04-24 14:54:10 发布

您现在位置:Python中文网/ 问答频道 /正文

如何计算不平衡数据集的不平衡比率?我偶然发现了一种定义(摘自一篇论文)的方式:

given by the imbalance ratio (IR), defined as the ratio of the number of instances in the majority class to the number of examples in the minority class

现在,这是正确的计算方法之一吗?在

谢谢


Tags: ofthe数据innumberby定义ir