Posts

Agentic AI & CatBoost for Credit Card Fraud Detection: Imbalanced ML and Enterprise Decision Workflows

Summary : Enterprise fraud detection sits at the intersection of applied Machine Learning, statistical risk modeling, and Agentic AI orchestration. This walkthrough examines how CatBoost addresses extreme class imbalance in tabular transaction data, how disciplined validation and threshold calibration govern real-world risk decisions, and how ML scoring models integrate into multi-step Agentic AI investigation workflows. This is grounded in experiments from a Kaggle Credit Card Fraud Prediction competition. High-volume financial platforms process massive streams of legitimate transactions alongside a small fraction of fraudulent activity. Because fraud tactics evolve continuously and class distributions are heavily skewed, effective fraud systems require strong Machine Learning foundations paired with structured decision architecture. In a Kaggle Credit Card Fraud Prediction competition ( playground-series-s6e11 ), I built and iterated on a gradient-boosted decision tree workflow...

Data Engineering Interview Preparation #4: Modular Transformations and Data Quality Testing with Python and DuckDB

Summary : Learn how to build maintainable data transformation workflows with Python, Pandas and DuckDB. This hands-on Data Engineering post covers composable functions, separation of transformation logic from orchestration, avoiding hidden state, schema standardization, SQL transformations, reference-data joins, deterministic calculations, unit testing and data-quality validation. Data engineering involves more than loading data from source systems and storing it in a database. A maintainable pipeline also needs well-structured transformation logic, predictable outputs, clear data contracts and tests that help detect problems early. In this hands-on exercise, we explore how to design smaller, reusable and testable transformations using Python, Pandas and DuckDB. We start with simple transaction calculations, move into schema standardization and SQL transformations, and then build deterministic functions and unit tests to validate expected behaviour. Run the hands-on Kaggle notebo...

Data Engineering Interview Preparation #3: Building a Financial Data Pipeline with Python, DuckDB and Parquet

Summary : Learn about building a repeatable financial data engineering pipeline using Python, Pandas, NumPy and DuckDB. This post covers deterministic data generation, CSV ingestion, SQL transformations, canonical schema design, data-quality checks, Parquet export, and CSV-versus-Parquet validation. Financial data engineering involves much more than loading records from a CSV file into a database. A reliable pipeline must handle source data consistently, maintain predictable schemas, validate records, and produce outputs that can be used confidently by downstream applications and analytical workflows. In this hands-on exercise, I created a small but practical financial data pipeline using Python, Pandas, NumPy and DuckDB. We start with supplied CSV files, inspect and clean the source data, transform raw trade records into a canonical structure, apply data-quality checks, and export validated data to Parquet. Run the hands-on notebook: DE Interview Prep #3: Financial Data Enginee...