PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Machine Learning/Adyen

Build a Payment Fraud Detection Model

Last updated: May 14, 2026

Quick Overview

This question evaluates machine-learning fundamentals (overfitting, L1/L2 regularization), data preprocessing and engineering (temporal train/validation/test splitting, missing values, categorical features), class-imbalance mitigation, model selection and evaluation within the payment fraud detection domain.

  • easy
  • Adyen
  • Machine Learning
  • Machine Learning Engineer

Build a Payment Fraud Detection Model

Company: Adyen

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: HR Screen

You are interviewing for a Machine Learning Engineer role at a FinTech company. Part 1: Explain the following ML fundamentals: - What is overfitting? - How can you detect overfitting during model development? - How do L1 and L2 regularization reduce overfitting, and how do they differ? Part 2: You are given a payment-transaction dataset for fraud detection. Each row represents one transaction and includes a binary label `is_fraud`, along with typical transaction features such as amount, timestamp-derived features, merchant category, country, payment method, device attributes, and customer history aggregates. Build a runnable machine-learning pipeline that trains a fraud detection model. Your solution should: - Split the data into train, validation, and test sets without leaking future information. - Handle missing values and categorical features. - Address severe class imbalance. - Train at least one reasonable baseline model. - Evaluate the model using metrics appropriate for fraud detection. - Explain what you would improve if you had more time. You may use standard ML libraries and AI coding tools, but the final code must run end-to-end.

Quick Answer: This question evaluates machine-learning fundamentals (overfitting, L1/L2 regularization), data preprocessing and engineering (temporal train/validation/test splitting, missing values, categorical features), class-imbalance mitigation, model selection and evaluation within the payment fraud detection domain.

Adyen logo
Adyen
May 9, 2026, 12:00 AM
Machine Learning Engineer
HR Screen
Machine Learning
0
0

You are interviewing for a Machine Learning Engineer role at a FinTech company.

Part 1: Explain the following ML fundamentals:

  • What is overfitting?
  • How can you detect overfitting during model development?
  • How do L1 and L2 regularization reduce overfitting, and how do they differ?

Part 2: You are given a payment-transaction dataset for fraud detection. Each row represents one transaction and includes a binary label is_fraud, along with typical transaction features such as amount, timestamp-derived features, merchant category, country, payment method, device attributes, and customer history aggregates.

Build a runnable machine-learning pipeline that trains a fraud detection model. Your solution should:

  • Split the data into train, validation, and test sets without leaking future information.
  • Handle missing values and categorical features.
  • Address severe class imbalance.
  • Train at least one reasonable baseline model.
  • Evaluate the model using metrics appropriate for fraud detection.
  • Explain what you would improve if you had more time.

You may use standard ML libraries and AI coding tools, but the final code must run end-to-end.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Adyen•More Machine Learning Engineer•Adyen Machine Learning Engineer•Adyen Machine Learning•Machine Learning Engineer Machine Learning
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.