# How to improve our Fraud prediction model created using Keras Neural Networks?

**URL:** <https://forum.knime.com/t/how-to-improve-our-fraud-prediction-model-created-using-keras-neural-networks/79567>\
**Category:** KNIME Analytics Platform\
**Tags:** keras, big-data\
**Created:** [May 20, 2024, 4:04pm UTC](https://forum.knime.com/t/how-to-improve-our-fraud-prediction-model-created-using-keras-neural-networks/79567 "2024-05-20T16:04:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [June 11, 2024, 9:26am UTC](https://forum.knime.com/t/how-to-improve-our-fraud-prediction-model-created-using-keras-neural-networks/79567/3 "2024-06-11T09:26:10Z")

</div>

@LBSleonor to be honest from my perspective this model is not very good if you have such a sensitive and small target. What you can do is work on the data preparation and [hyper parameter tuning](https://hub.knime.com/-/spaces/-/~mo8W4P-MzQ2Zt5P7/current-state/) to get somewhat better results and also try [H2O.ai AutoML](https://hub.knime.com/knime/extensions/org.knime.features.ext.h2o/latest/org.knime.ext.h2o.nodes.learner.automl.classification.H2OAutoMLClassificationNodeFactory/) to cover several modeling approaches.

You can find an overview of models here. And maybe use [AUCPR](https://docs.h2o.ai/h2o/latest-stable/h2o-docs/performance-and-prediction.html#aucpr-area-under-the-precision-recall-curve) as the target statistics

> **[Heart Disease - Machine Learning Case - Comparing Algorithms – mlauber71](https://hub.knime.com/mlauber71/spaces/Machine_Learning/ml_binary/Heart%20Disease%20-%20Machine%20Learning%20Case%20-%20Comparing%20Algorithms~0dXvsD0vMrv_w6Fw/current-state)**
>
> Binary Classification - use Python XGBoost package and other nodes to build model and deploy that thru KNIME Python nodes prepare data with vtreat package in t…

More also on Data preparation with [vtreat](https://medium.com/low-code-for-advanced-data-science/data-preparation-for-machine-learning-with-knime-and-the-python-vtreat-package-efcaf58fa783) here:

> **[KNIME — Machine Learning and Artificial Intelligence— A Collection](https://medium.com/low-code-for-advanced-data-science/knime-machine-learning-and-artificial-intelligence-a-collection-12e0f7d83b50)**
>
> TL;DR: Where to find resources and workflow examples for various machine-learning tasks you can do with KNIME (and some Python)

Specifically about unbalanced datasets you can also check these two threads from the forum:

- [Thread One Unbalanced](https://forum.knime.com/t/xgboost-predictor/23960/5)
- [Thread Two Unbalanced](https://forum.knime.com/t/problem-with-unbalanced-data-with-examples-attached/26227/4)

---

_[View the full topic](https://forum.knime.com/t/how-to-improve-our-fraud-prediction-model-created-using-keras-neural-networks/79567)._
