stratascratch
  • Interview Questions
    • Interview Loops
    • Analytical
    • Algorithm
    • ML Coding
    • Stats Coding
    • Visualization
    • Concept
  • Data Labs
    • Discover
    • Your Notebooks
  • Mock Interview
  • Learn
  • Blog
  • Pricing
  • About
Log in
  • Interview Questions

    • Interview Loops
    • Analytical
    • Algorithm
    • ML Coding
    • Stats Coding
    • Visualization
    • Concept
  • Data Labs

    • Discover
    • Your Notebooks
  • Mock Interview
  • Learn
  • Blog
  • Pricing
  • About
Log inSign up
Back to Projects
  1. Assignment
  2. Your Solution
  3. Solution
  4. Solutions from Users
  5. Discussion

Expenses and Income Prediction

You must be logged in to download the datasets

N26: Exploring user transaction data to uncover patterns, insights, and key questions. Pandas, Scikit-Learn, Matplotlib

Assignment

Given a dataset of transactions for 10,000 users and their demographic profiles, define regression models for predicting the total expenses and total income of a user.

Data Description

FileDescription
transactions_data_training.csvTransaction records for ~10k users
user_profile.csvDemographic and account information per user
transaction_types.csvDictionary explaining transaction_type codes and their flow direction
mcc_group_definition.csvDictionary explaining mcc_group merchant category codes

Practicalities

Define, train, and evaluate predictive models that take the provided data as input. You may want to split the data into training, testing, and validation sets according to your discretion. Do not use external data for this project. You may use any algorithm of your choice or compare multiple models.

Make sure that the solution reflects your entire thought process — it is more important how the code is structured than the final metrics. You are expected to spend no more than 3 hours working on this project.

This question is part of an interview loop

See the full interview round by round, with questions for each stage.

Fintech & payments · AI Engineer