Shu Hu, Yiming Ying, Xin Wang, and Siwei Lyu
This repository is the official implementation of our paper "Learning by Minimizing the Sum of Ranked Range", which has been accepted by NeurIPS 2020.
This is also the official implementation of our paper "Sum of Ranked Range Loss for Supervised Learning", which has been accepted by JMLR 2022.
To install requirements:
pip install -r requirements.txt
To run the AoRR algorithm on synthetic data with individual hinge loss:
python AoRR/run_hinge_synthetic.py
To run the AoRR algorithm on synthetic data with individual logistic loss:
python AoRR/run_logistic_synthetic.py
To run the AoRR algorithm on real-world data with individual hinge loss:
python AoRR/run_hinge_real.py
To run the AoRR algorithm on real-world data with individual logistic loss:
python AoRR/run_logistic_real.py
After these experiments, you can get the results of Table 1.
To run the top-k multi-label (TKML) algorithm on the Emotions dataset:
python TKML/TKML_emotions.py
After these experiments, you can get the results of Table 2.
First, you need to generate the Mnist datasets with 20%, 30%, 40% noise.
python TKML_multiclass/generate_datasets_with_noise.py
Second, you can run the TKML algorithm on the Mnist dataset with different noise levels:
python TKML_multiclass/run_TKML_multiclass.py
After these experiments, you can get the results of Table 3.
python AoRR/plot_aggregate_interpretation.py
python AoRR/plot_synthetic_result.py
python AoRR/plot_real_data_misclassification.py
python AoRR_multiclass/AoRR_Run_MNIST_noise.py
python TKML_multiclass/run_TKML_multiclass.py
Please kindly consider citing our papers in your publications.
@inproceedings{hu2020sorr,
title={Learning by Minimizing the Sum of Ranked Range},
author={Hu, Shu and Ying, Yiming and Wang, Xin and Lyu, Siwei},
booktitle= {NeurIPS},
year={2020}
}
@article{JMLR:v23:21-0622,
author = {Shu Hu and Yiming Ying and Xin Wang and Siwei Lyu},
title = {Sum of Ranked Range Loss for Supervised Learning},
journal = {Journal of Machine Learning Research},
year = {2022},
volume = {23},
number = {112},
pages = {1-44},
url = {http://jmlr.org/papers/v23/21-0622.html}
}