# Regression with Cost-based Rejection
This is the code for the paper: Regression with Cost-based Rejection
## Setups
+ Python 3.7.12
+ Pytorch 1.10.0
+ Numpy 1.21.6
+ Cuda 11.6
## Datasets
+ Download AgeDB dataset from [here](https://ibug.doc.ic.ac.uk/resources/agedb/) and extract the zip file (you may need to contact the authors of AgeDB dataset for the zip password) to folder `./data`
+ Download BreastPathQ from [here](https://breastpathq.grand-challenge.org/) and extract the zip file  to folder `./data`
## Quick Start
You can quickly start with the demo.py file.
## Result
All results are printed in the window by default.