Code for our ECML/PKDD 2023 Paper: REAL: A Representative Error-Driven Approach for Active Learning
Please cite our work if you find the code useful.
@inproceedings{chencheng2023Real,
Author = {Cheng Chen, Yong Wang, Lizi Liao, Yueguo Chen, Xiaoyong Du},
Booktitle = {ECML/PKDD},
Title = {REAL: A Representative Error-Driven Approach for Active Learning},
Year = {2023}
}
Contact: Cheng Chen (chchen [at] ruc [dot] edu [dot] cn)
Specify data dir at runbg.py
in class Config
self.data_dir = f'{home_dir}data/AL/data3/{task}/'
Except for pubmed, the classes for all the other datasets are close to be balanced.
Change to real
dir under this repository, then execute
python runbg_agnews.py