Predicting Fraudulence Transaction under Data Imbalance using Neural Network (Deep Learning)


  • Harry Patria School of Computing, Newcastle University, England, United Kingdom



Fraud, deep learning, neural networks, finance


The number of financial transactions has the potential to cause many violations of the law (fraud). Conventional machine learning has been widely used, including logistic regression, random forest, and gradient boosted. However, the machine learning can work as long as the dataset contains fraud. Many new financial technology companies need to anticipate the potential for fraud, which they have not experienced much. This potential for a crime can also be experienced by old service providers with a low frequency of previous fraud. With the data imbalance, traditional machine learningis likely to produce false negatives so that they do not accurately predict potential fraud. This study optimizes the machine learning approach based on Neural Networks to improve model accuracy through the integration of KNIME and Python Programming with KERAS and TensorFlow models. The study also conducts a comparative analysis to scrutinize the performance of Adam and Adamax Optimizer. Using data from European cardholders in 2013, this study proves that workflows and neural network algorithms can detect with up to 95% accuracy even with a very small fraud sample of only 0.17% or 492 of 284,807 transactions. In addition, the Adam optimizer performs higher accuracy than the Adamax optimizer. The implication is that this supervisory technology innovation can be developed to minimize transaction crimes in the financial services sector.


Download data is not yet available.


Al-Hashedi, K.G., & Magalingam, P. (2021). Financial fraud detection applying data mining techniques: A comprehensive review from 2009 to 2019.

Anggraeni, D., Sugiyanto, K., Zam Zam, M. I., & Patria, H. (2022). Stock Price Movement Prediction using Supervised Machine Learning Algorithm: KNIME. Junal Akun Nabelo: Jurnal Akuntansi, Netral, Akuntabel, Objektif. 4(2), 671–68.

Asha, RB., & Kumar, S. Credit card fraud detection using artificial neural network. Global Transitions Proceedings. 2, 35-41

Borgne, Y. L. & Bontempi, G. (2021). Machine Learning for Credit Card Fraud Detection – Practical Handbook.

Johnson, J. M. & Khoshgoftaar, T. M. (2019). Survey on deep learning with class imbalance. Journal of Big Data, 6(27).

Keras (2022). Adamax optimizer.

Mariana, CD., & Patria, H. (2021). Are Electronic Vehicle Stocks in ASEAN-5 Countries Investable during the Covid-19 Pandemic?Perceptions of Energy Resources Efficiency for Sustainable Development in the Developing Context of Nigeria: Implications for Enterprise Development in the Energy Sector. P. 184.

Nilson report. Nilson report issue 1164. November 2019. [Online; Last consulted 09-October-2020].URL: .

Patria, H., & Adrison, V. (2015). Oil Exploration Economics: Empirical Evidence from Indonesian Geological Basins. Economics and Finance in Indonesia, 61(3), 196.

Patria, H. (2021). The Role of Success Rate, Discovery, Appraisal Spending, and Transitioning Reion on Exploration Drilling of Oil and Gas in Indonesia in 2004–2015. Economics and Finance in Indonesia, 61(3), 196.

Patria, H. (2022). Predicting the Oil Investment Decision through Data Mining: Empirical Evidence in Indonesia Oil Exploration Sector. Data Science: Journal of Computing and Applied Informatics (JoCAI), 6(1), 1-11.

Zulfikri, F., Tryanda, D., Syarif, A., & Patria, H.(2021). Predicting Peer to Peer Lending Loan Risk Using Classification Approach. International Journal of Advanced Science Computing and Engineering, 3(2), 94–100.



How to Cite

Patria, H. (2022). Predicting Fraudulence Transaction under Data Imbalance using Neural Network (Deep Learning). Data Science: Journal of Computing and Applied Informatics, 6(2), 67-80.