Official code of the paper Locally Interpretable One-Class Anomaly Detection for Credit Card Fraud Detection
- Place CCFD dataset into /datasets/Kaggle_CCFD.
- Run:
python3 main.py --mode train
python3 main.py --mode test
python3 main.py --mode explainer
- Use function
writeToCsv()
insplit.py
to split dataset into training set and testing set. - Run the
.py
in /pyod, such as:
cd pyod
python3 ocnn.py