Topological Intuition for Commercial Portfolio Analysis: A Dimensionality Reduction Pipeline and Boundary Customer Identification Inspired by Stokes' Theorem

This paper proposes and implements a 13-step analytical pipeline for structural analysis of customer portfolios, grounded in the geometric intuition of Stokes' Theorem: the boundary of a surface carries sufficient information to describe the behavior of its interior. Applied to real e-commerce transactional data (UCI Online Retail II, 2009–2011), the pipeline identifies a reduced subset of boundary customers whose extreme profiles represent the behavioral space of the entire portfolio. The methodology combines data cleaning, RFM and B2B/B2C behavioral feature engineering, automatic feature selection via Pearson and Spearman correlation, and dimensionality reduction through PCA and UMAP, with boundary identification via the Convex Hull algorithm. Applied to 5,878 unique customers derived from 1,067,371 raw transactions, the pipeline identified between 14 (PCA 2D) and 228 (UMAP 3D) boundary customers depending on the projection space. This record includes two versions:- English version: artigo_stokes_en.md.pdf- Portuguese version: artigo_stokes_pt.md.pdf Source code: https://github.com/Jotta-se/stokes-customer-portfolioInput dataset: UCI Online Retail II (DOI: 10.24432/C5CG6D)

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-05-27
DOI
https://doi.org/10.5281/zenodo.20411332
Primary Topic
Customer churn and segmentation
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Topological Intuition for Commercial Portfolio Analysis: A Dimensionality Reduction Pipeline and Boundary Customer Identification Inspired by Stokes' Theorem

Jorge Castro
Zenodo (CERN European Organization for Nuclear Research)
Customer churn and segmentation
preprint

Topological Intuition for Commercial Portfolio Analysis: A Dimensionality Reduction Pipeline and Boundary Customer Identification Inspired by Stokes' Theorem

Jorge Castro
preprint en

Abstract

This paper proposes and implements a 13-step analytical pipeline for structural analysis of customer portfolios, grounded in the geometric intuition of Stokes' Theorem: the boundary of a surface carries sufficient information to describe the behavior of its interior. Applied to real e-commerce transactional data (UCI Online Retail II, 2009–2011), the pipeline identifies a reduced subset of boundary customers whose extreme profiles represent the behavioral space of the entire portfolio. The methodology combines data cleaning, RFM and B2B/B2C behavioral feature engineering, automatic feature selection via Pearson and Spearman correlation, and dimensionality reduction through PCA and UMAP, with boundary identification via the Convex Hull algorithm. Applied to 5,878 unique customers derived from 1,067,371 raw transactions, the pipeline identified between 14 (PCA 2D) and 228 (UMAP 3D) boundary customers depending on the projection space. This record includes two versions:- English version: artigo_stokes_en.md.pdf- Portuguese version: artigo_stokes_pt.md.pdf Source code: https://github.com/Jotta-se/stokes-customer-portfolioInput dataset: UCI Online Retail II (DOI: 10.24432/C5CG6D)

Zenodo (CERN European Organization for Nuclear Research)
Industry, innovation and infrastructure
Customer churn and segmentation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Topological Intuition for Commercial Portfolio Analysis: A Dimensionality Reduction Pipeline and Boundary Customer Identification Inspired by Stokes' Theorem — Jorge Castro · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS