This is official code implementation of TAAI 2021 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
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