imbalanced-learn API API详情可见User guide 或者见我的其余四篇关于imblearn的博客,即我翻译的doc: 1.python imblearn toolbox 解决数据不平衡问题(一)——imblearn简介 2.python imblearn toolbox 解决数据不平衡问题(二)——over-sampling上采样 3.python imblearn toolbox 解决数据不平衡问题(三)——under-sampling下采样 4.python imblearn toolbox 解决数据不平衡问题(四)——联合采样、集成采样、其它细节