Annotated workflow
ReportTool-naive process diagram and operator guide.

Annotated Workflow - Final Random Forest Process
Kunal Dhingra | Online Casino High-Net-Loss Classification
1. Read & Audit 2. Build Target & Remove Leakage 3. Split Once
Load the exact project dataset. Create High_Net_Loss using 70% train / 15% validation /
Preserve the raw file. Check $728.61. Exclude ID and netloss. 15% holdout. Seed 1234.
schema, impossible negatives, Exclude raw Logdeclines and Stratify on High_Net_Loss.
ranges, and row count (2,286). withdrawal_amount for the Holdout stays untouched
submitted prospective workflow. during selection.
4. Training Branch 5. Validation Branch 6. Business Evaluation
Fit any model-specific Apply the trained model to the High F1 = 98.27%. TP=85,
preprocessing on training only. same validation customers used by FP=2, FN=1, TN=255. Cost =
Train Random Forest with 100 every entrant. Read High-class 2x$8 + 1x$52.50 = $68.50.
trees. Freeze predictor list confusion matrix.
and settings.
7. Final Use 8. Monitor & Govern
Rank customers by predicted High Watch recall/F1, input drift, concept
probability. Use a cost-tuned cutoff drift, overrides, and intervention
or staffing budget. Human reviewer effects. Retrain on new labeled data;
makes the final responsible-gambling pause for leakage or serious data-
decision. quality incidents.
Key rebuild rule
Every learned transformation is fitted on training data only. Validation is used for model/tuning
comparisons. The holdout is opened once only after the final model and predictor list are frozen.
Do not claim a holdout number unless you actually ran the frozen process on the untouched holdout.
RapidMiner Rebuild and Live-Scoring Guide
Tool-naive instructions for an interviewer or reviewer
A. Load data
Open the final .rmp. Repair the data path if needed so the process reads the packaged file
in 02_data/. Verify 2,286 rows and expected field names.
B. Verify target and roles
High_Net_Loss is the label. High means net loss >= $728.61. ID is not a predictor. netloss
is not a predictor after target creation.
C. Verify exclusions
Confirm raw Logdeclines and withdrawal_amount are not feeding the final forest for the
documented prospective interpretation.
D. Verify partition
Split 70/15/15 with seed 1234 and stratification. Keep validation and holdout branches
separate.
E. Train final model
Random Forest with 100 trees. Do not retune after looking at holdout.
F. Validate
Apply model to validation. Expected tournament confusion matrix for the selected forest: TP
85, FP 2, FN 1, TN 255; High F1 98.27%.
G. One-time holdout
Once settings are frozen, run the untouched holdout one time and record the result without
additional tuning.
H. Live score
Load one new or unseen record without its target label. Apply the exact frozen preparation
and model. Read prediction/confidence and interpret only as a review priority.
Business interpretation of the live score
Prediction = High: move the customer higher in the responsible-gambling review queue, then require
human review. Prediction = Not High: do not prioritize at the current cutoff, but allow other business
rules to trigger review. Never interpret the model as a diagnosis or automatic punitive action.