How fahimfaysaltamim/cse437_repeatpurchaseusingml_8 works
This is a notebook-based data-science project for predicting whether identified Online Retail II customers make a valid purchase in a fixed future 90-day window. Its principal workflow moves from transaction audit and preprocessing through customer-level feature and label construction, model comparison and tuning, then threshold selection and untouched-test error analysis. Reusable date constants and a training-fitted quantile clipper form a small internal utility layer. The README documents the notebook order and capabilities; notebook internals were not sampled, so the edges reflect documented handoffs rather than inspected calls.
Main entry points: 01_data_audit_and_eda.ipynb Audit and EDA · 02_preprocessing.ipynb Transaction preprocessing · 03_feature_engineering.ipynb Customer features and split · 04_modeling_and_tuning.ipynb Modeling and tuning
Components 11
Data preparation
- Audit and EDA
notebooks/01_data_audit_and_eda.ipynb - Transaction preprocessing
notebooks/02_preprocessing.ipynb - Shared constants and clipper
src/utils.py
Feature and modeling
- Customer features and split
notebooks/03_feature_engineering.ipynb - Modeling and tuning
notebooks/04_modeling_and_tuning.ipynb
Results and reporting
- Test evaluation and errors
notebooks/05_evaluation_and_error_analysis.ipynb - PDF report builder
report/build_report.py - Project report
report/report.md - PDF report
report/report.pdf
Other components
- Project analyst
- Retail workbook
Connections 6
- Project analyst → Audit and EDA: runs first
README.md - Retail workbook → Audit and EDA: audits data
README.md - Audit and EDA → Transaction preprocessing: then runs
README.md - Transaction preprocessing → Customer features and split: then runs
README.md - Customer features and split → Modeling and tuning: then runs
README.md - Modeling and tuning → Test evaluation and errors: then runs
README.md