Solega Co. Done For Your E-Commerce solutions.
  • Home
  • E-commerce
  • Start Ups
  • Project Management
  • Artificial Intelligence
  • Investment
  • More
    • Cryptocurrency
    • Finance
    • Real Estate
    • Travel
No Result
View All Result
  • Home
  • E-commerce
  • Start Ups
  • Project Management
  • Artificial Intelligence
  • Investment
  • More
    • Cryptocurrency
    • Finance
    • Real Estate
    • Travel
No Result
View All Result
No Result
View All Result
Home Artificial Intelligence

KNIME for Finance: Fraud detection using a supervised ML model | by Thor L | Low Code for Data Science | May, 2025

Solega Team by Solega Team
May 7, 2025
in Artificial Intelligence
Reading Time: 8 mins read
0
KNIME for Finance: Fraud detection using a supervised ML model | by Thor L | Low Code for Data Science | May, 2025
0
SHARES
2
VIEWS
Share on FacebookShare on Twitter


DATA STORIES | FINANCE | KNIME ANALYTICS PLATFORM

Learn how to detect fraud using a Random Forest model

Thor L

Photo by Ibrahim Ahmed on Unsplash.

This is part of a series of articles to show you solutions to common finance tasks related to financial planning, accounting, tax calculations, and auditing problems all implemented with the low-code KNIME Analytics Platform.

Credit card fraud detection stands out as an ongoing challenge to accurately identify all new fraud patterns. Datasets containing fraud examples are rare, and when they do exist, they often include a limited number of outdated cases. This scarcity makes fraud detection particularly challenging, as it must continuously adapt to the evolving tactics of fraudsters.

There are two approaches to fraud detection:

  1. Classic machine learning based predictions, when your dataset contains enough fraud examples
  2. Outlier detection based techniques, when your dataset does not contain a sufficient number of fraud examples

The dataset that we will use contains a small percent of fraudulent transactions. Based on these examples, we will implement the classic machine-learning based approach for fraud detection for this article.

In the next couple articles, we will show how to implement fraud detection algorithms using outlier detection based techniques.

Whatever your data situation is, this series will show you how KNIME Analytics Platform offers a low-code solution for this problem. It can enable financial teams to automate data intake from various sources and leverage advanced analytics to detect fraudulent transactions, without the need for a coding background.

In this article on fraud detection, you’ll learn how to use the Random Forest supervised learning algorithm to help identify fraudulent transactions. Watch the video for an overview.

Credit card transactions can essentially be divided into two categories: legitimate and fraudulent. The task at hand is to accurately identify and flag fraudulent transactions to ensure that a small minority of flagged transactions are legitimate.

The process of fraud detection often involves several manual and automated steps to analyze transaction patterns, customer behavior, and other relevant factors. For our purposes, we will only focus on the automation part of detection by training a model on a labeled dataset and applying it to a new transaction to simulate incoming data from an outside data source.

We use a popular dataset available from Kaggle called Credit Card Fraud Detection. This dataset is composed of real, anonymized transactions made by credit cards in September 2013 by European cardholders. It includes 284,807 transactions over two days, containing 492 fraudulent transactions. The dataset represents a severe class imbalance between the ‘good’ (0) and ‘frauds’ (1), where ‘frauds’ account for only 0.172% of the data.

The dataset contains 31 columns:

A key feature needed for our training is ‘Class’ as we need labeled data for a supervised training algorithm.

The process for creating our classification model follows the steps below. Even if there is data coming from multiple sources, the overall process does not change:

  • Create/import a labeled training dataset
  • Partition the data
  • Train the model
  • Evaluate model performance
  • Import the new, unseen transactions
  • Deploy the model and feed the new transactions in
  • Notify if any fraudulent transactions are classified.

All workflows used in this article are available publicly and free to download on the KNIME Community Hub. You can find the workflows on the KNIME for Finance space under Fraud Detection in the Random Forest section.

The first workflow covers training our model. You can view and download the training workflow Random Forest Model Training from the KNIME Community Hub.



Source link

Tags: codeDatadetectionFinanceFraudKNIMEModelsciencesupervisedThor
Previous Post

Michael Saylor Explains Why Microsoft Should Buy Bitcoin

Next Post

Ox Security lands a fresh $60M to scan for vulnerabilities in code

Next Post
Ox Security lands a fresh $60M to scan for vulnerabilities in code

Ox Security lands a fresh $60M to scan for vulnerabilities in code

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

POPULAR POSTS

  • 10 Ways To Get a Free DoorDash Gift Card

    10 Ways To Get a Free DoorDash Gift Card

    0 shares
    Share 0 Tweet 0
  • They Combed the Co-ops of Upper Manhattan With $700,000 to Spend

    0 shares
    Share 0 Tweet 0
  • Saal.AI and Cisco Systems Inc Ink MoU to Explore AI and Big Data Innovations at GITEX Global 2024

    0 shares
    Share 0 Tweet 0
  • Exxon foe Engine No. 1 to build fossil fuel plants with Chevron

    0 shares
    Share 0 Tweet 0
  • They Wanted a House in Chicago for Their Growing Family. Would $650,000 Be Enough?

    0 shares
    Share 0 Tweet 0
Solega Blog

Categories

  • Artificial Intelligence
  • Cryptocurrency
  • E-commerce
  • Finance
  • Investment
  • Project Management
  • Real Estate
  • Start Ups
  • Travel

Connect With Us

Recent Posts

How Cox Automotive Ties Employee Experience to Customer Success

How Cox Automotive Ties Employee Experience to Customer Success

June 22, 2025
7 Essential Things To Do When You Get Paid

7 Essential Things To Do When You Get Paid

June 22, 2025

© 2024 Solega, LLC. All Rights Reserved | Solega.co

No Result
View All Result
  • Home
  • E-commerce
  • Start Ups
  • Project Management
  • Artificial Intelligence
  • Investment
  • More
    • Cryptocurrency
    • Finance
    • Real Estate
    • Travel

© 2024 Solega, LLC. All Rights Reserved | Solega.co