This is official code implementation of TAAI 2021 Best Paper Award paper: Locally Interpretable One Class Anomaly Detection for Credit Card Fraud Detection.
Place CCFD dataset into /datasets/Kaggle_CCFD .
python3 main.py --mode train
python3 main.py --mode test
python3 main.py --mode explainer
Use function writeToCsv()
in split.py
to split dataset into training set and testing set.
Run the .py
in /pyod directly, eg.
cd pyod
python3 ocnn.py