# D3RE
This is a code for reproducing the results in "Non-Negative Bregman Divergence Minimization for Deep Direct Density Ratio Estimation."

### Dependency
- torch: 1.4.0
- sklearn: 0.22.2
- densratio: 0.2.2 

## Section 5: Experiment with Image Data
The reproducing codes are in "NumericalExperiments" folder.

## Section 6.1: Inlier-based Outlier Detection
The reproducing codes are in "AnomalyDetection" folder.

## Section 6.2: Covariate Shift Adaptation by Importance Weighting
The reproducing codes are in "CovariateShift" folder.
