This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# 12.3 解决样本不平衡问题
在本章的第一节中已经提到过,该数据集有着非常严重的数据倾斜。
```python
sns.countplot('Class',data=transactions)
plt.title('Class Distributions \n (0: No Fraud || 1: Fraud)',fontsize=14)