Skip to main content
by learnformula
Explore courses
search
For Business
Team license & compliance management
For Higher Education
Academic partnerships
For Government Agencies
Government training solutions
For Instructors & Course Creators
Teach on our marketplace
Become a Sponsor
Reach professionals where they learn
Log inStart 7-Day Free TrialStart Free TrialStart Free Trial
search
Explore courses
  1. Courses
  2. /Finance
  3. /Data Analytics, Visualization, and Science

Fraud Detection in Python

Optimize machine learning models and calculate the true cost of fraud with interactive data visualization.

Created byRichard Ball
IntermediateUpdated Nov 24, 2026

What You'll Learn

  • check_circlePreprocess and balance heavily skewed transaction datasets using techniques like SMOTE and random undersampling in Python
  • check_circleEngineer aggregate and behavioral features from raw transactional logs using Pandas to expose anomalous patterns
  • check_circleTrain and fine-tune supervised classification models such as XGBoost and Random Forest to detect known fraudulent behaviors
  • check_circleImplement unsupervised anomaly detection algorithms including Isolation Forests and Local Outlier Factor to flag novel fraud schemes
  • check_circleEvaluate fraud model performance using specialized metrics such as Precision-Recall AUC, confusion matrices, and financial cost-benefit analysis

About This Course

This course examines the implementation of machine learning models for detecting credit card fraud using Python. It covers the preparation of imbalanced datasets and the training of logistic regression and XGBoost models. The curriculum focuses on evaluating model performance through metrics like confusion matrices and precision-recall curves while accounting for the financial impact of misclassifications. Students build interactive Streamlit dashboards to simulate threshold adjustments and analyze the total cost of fraud.

Topics Covered

  • Credit card fraud datasets
  • Supervised learning model training
  • Class imbalance and SMOTE up-sampling
  • Total cost of fraud calculation
  • Classification threshold optimization
  • Performance metric evaluation
  • Streamlit dashboard development
  • Confusion matrix and precision-recall analysis

Course Content

7 activities • 20 videos • duration: 2h 5m

  • videocamOur exciting Fraud Detection project demo!
    Duration 2:02
  • quizIntroduction to the course Quiz

Your Instructor

Richard Ball

Principal Data Scientist

menu_book1 courses

I’m a Principal Data Scientist and AI Engineer with over 15 years of experience delivering production machine learning systems, AI agents, and data science solutions across insurance, fintech, cryptocurrency, and data privacy. I hold a PhD in Computer Science (Machine Learning), with a focus on deep learning for anomaly detection in financial services. Today, I build cloud-based machine learning systems that detect fraud at scale. My work centres on fraud detection, insurance risk pricing, agentic AI, large language models (LLMs), and generative AI. I’m also interested in network analysis, model interpretability, and graph neural networks. Over my career, I’ve led data science teams, built end-to-end machine learning pipelines on AWS, and turned complex data problems into measurable business outcomes. In my courses, I aim to share that practical, real-world experience so you can apply it in your own work.

Credit Information

What Students Are Saying

0.0 out of 5
Student's Choice
0 reviews

Frequently Asked Questions

We are a registered provider with 300+ associations and regulatory bodies worldwide. We operate across 28 global markets including Canada, the US, Australia, and the UK. Every course page clearly displays its specific accreditations. Upon completion, you receive a professional certificate that can be validated online. Our certificates include all necessary accreditation details, credit hours, and completion dates, and are formatted specifically to meet the submission requirements of most global regulatory bodies.

You May Also Like

  • Ethics: Business Ethics

    2026 Ethics and Corporate Compliance

    starRated5.0out of 5,(694 reviews)
    2 CPD hrs
  • Finance: Budgeting & Financial Forecasting

    Critical Skills for CFOs & Controllers: Budgeting & Forecasting Strategies for Today’s World

    starRated5.0out of 5,(200 reviews)
    2.5 CPD hrs
  • Project Management: Productivity

    Microsoft Copilot for Finance and Accounting

    starRated4.9out of 5,(102 reviews)
    1.5 CPD hrs