Python code for
Author: Yang Lu
Contact: lylylytc@gmail.com
Run Python 3 by:
python calculate_bi3.py syn_dataset.npz
the dataset is in .npz file, which should contain key 'data' and 'label'.
Please cite the paper if the codes are helpful for you research.
Yang Lu, Yiu-ming Cheung, and Yuan Yan Tang, “Bayes Imbalance Impact Index: A Measure of Class Imbalanced Dataset for Classification Problem”, IEEE Transactions on Neural Networks and Learning Systems (TNNLS), DOI:10.1109/TNNLS.2019.2944962