Skip to content

Data Analysis at a Glance ​

This page gathers in one place the concepts that appear in the Codyssey AI Advanced A1-1 mission, "Find loyal customers by analyzing who visits often and buys a lot at an online store." Skim the overall flow and concepts here first, and see each concept's article for details.

Analysis Flow ​

Load
 → Explore (EDA, descriptive statistics)
 → Preprocess (missing value imputation, IQR outliers, clipping)
 → Feature engineering (images and text into numeric columns)
 → Statistics & visualization (correlation coefficient, 6 chart types)
 → Customer segmentation (RFM, cohorts)
 → Insights (evidence, action, validation)

Concepts in One Line ​

ConceptOne-line meaningDetails
NumPyA library that computes on numeric arrays all at once without loopsNumPy and Pandas
PandasA library that reads, cleans, and aggregates tabular data by groupNumPy and Pandas
Vectorized operationsApplying an operation to a whole array at once instead of using a for loopNumPy and Pandas
Multimodal dataA mix of data in different forms, such as numbers, text, dates, and imagesEDA and Descriptive Statistics
EDAThe step of summarizing and plotting data to understand its characteristics before drawing conclusionsEDA and Descriptive Statistics
Descriptive statisticsSummarizing data with the mean, median, standard deviation, and quartilesEDA and Descriptive Statistics
Group-wise imputationFilling blanks with a statistic from a group of similar rowsMissing Values and Outliers
IQR outliersValues lying more than 1.5 times the middle-50% range (IQR) outside itMissing Values and Outliers
ClippingPressing outliers down to the boundary value instead of deleting themMissing Values and Outliers
Feature engineeringCreating new columns (derived variables) for analysis from the raw dataFeature Engineering
Correlation coefficientA value from -1 to 1 showing how much two variables move togetherCorrelation and Visualization
6 visualization typesHistogram, box plot, bar chart, heatmap, scatter plot, line chartCorrelation and Visualization
Customer segmentationGrouping customers who behave similarly and responding differently to each groupRFM and Customer Segmentation
RFMA method that scores and divides customers by recency (R), frequency (F), and monetary value (M)RFM and Customer Segmentation
Cohort analysisA method that groups customers who first arrived in the same period and tracks how many remain over timeRFM and Customer Segmentation
Evidence, action, validationA format for writing insights split into numeric evidence, an action plan, and cases where it could be wrongInsights and the Limits of Analysis
Pipeline classA class that bundles analysis steps into methods so they can be reusedInsights and the Limits of Analysis

What A1-1 Left Behind ​

ItemDetails
Data1,067,371 transactions over 2 years from a UK online gift shop (Online Retail II) + 60,000 practice clothing images (Fashion-MNIST)
ToolsNumPy, Pandas, Matplotlib, Seaborn (without machine learning or image-specific libraries)
Cleaning result1,007,913 rows (5.6% removed)
DeliverablesDataAnalyzer class (src/pipeline.py), analysis notebook, README with 4 insights
Key results21.7% of customers (VIP) account for 68% of purchase amount, 39.9% of customers have churned, sales are concentrated in October and November
Biggest limitationOriginal orders that were later canceled remain in the data, so some customers' purchase amounts may be inflated

Source: dubu-alt/A1-1 (Codyssey AI Advanced A1-1 mission)