Selected public work · Evidence and limitations

Sararin.ai / Selected work

4 experimentsSynthetic learning evidenceNo production uplift claim

NBO / NRT Learning Journey

From Azure Databricks to local PySpark, four bounded experiments connected business decisions, data, machine learning, and reproducible engineering. Experiment 4 completed the learning loop—with mixed results against a strong business baseline.

Business question

What must be true before an offer decision is worth using?

The case began by connecting synthetic data preparation, model evaluation, registration, and prediction read-back. Each experiment then exposed a different missing condition: usable model behavior, a credible decision world, sufficient context–action support, and finally a business-grounded definition of package fit.

The result is not a story of four increasingly successful models. It is a record of four evidence-led decisions: what the data allowed, what the test established, where the boundary failed, and why the next experiment changed direction.

From Azure Databricks to local PySpark

Cloud costs made continued self-funded experimentation impractical. The work moved to PySpark on a Mac, retaining saved artifacts and evidence while making each local recovery and reproduction check explicit. Experiment 3 stayed paused; Experiment 4 became a separate package-fit problem with its own frozen scope.

ย้ายจาก Azure มาทดลองบน Mac เพื่อลดต้นทุน โดยรักษาข้อมูล โมเดล และหลักฐานเดิมไว้ แล้วออกแบบ Experiment 4 จากการตัดสินใจทางธุรกิจ ก่อนกำหนดข้อมูล วิธีเปรียบเทียบ และเกณฑ์จบการทดลอง

Experiment path

Data, conditions, evidence, and turning points

01

Experiment 1

Build the lifecycle—and separate it from model quality
Completed · bounded synthetic evidence

Data

10,000 synthetic observations prepared for a governed data-to-model lifecycle.

Conditions

Data validity, training, registration, prediction read-back, model quality, and business acceptance were evaluated as separate gates.

Observed evidence

Training, model registration, and prediction/probability read-back were exercised. At the evaluated default decision setting, precision, recall, and F1 were 0 because no positives were predicted.

Turning point

The pipeline worked, but the model was not useful at the evaluated decision setting. Lifecycle success could not authorize deployment.

Decision

Preserve the failed model-quality result and redesign the next experiment around a more explicit decision world and evaluation path.

02

Experiment 2

Make the decision world and evaluation credible
Completed in two bounded phases · 2A and 2B

Data

A controlled synthetic world extended the observed seed structure with behavior simulation, offer enrichment, candidate actions, logged outcomes, and retained provenance.

Conditions

Experiment 2A established the shared preparation and readiness gates. Experiment 2B added a separate offline-policy-evaluation lane; its findings remained bounded to the synthetic logged environment.

Observed evidence

The work showed that an offer model cannot be judged only as a classifier: candidate eligibility, action support, logged behavior, and the evaluation design determine what can be learned safely.

Turning point

A statistically supported offline result still did not establish operator truth, online-policy safety, or permission to reuse the same evidence for a new policy objective.

Decision

Keep 2A and 2B as two phases of one experiment, preserve their evidence boundary, and start a new TRAIN-only policy-learning investigation.

03

Experiment 3

Prove data support before policy learning
Paused · B1 incomplete · TEST untouched

Data

The retained TRAIN set contains 8,002 rows across 38,300 exact context–action pairs: 30,604 pairs have no example and 7,653 appear once.

Conditions

The lane was constrained to a one-step contextual decision. TRAIN/TEST isolation, action-by-context support classification, reproducible checkpoints, and claim boundaries had to pass before unrestricted policy learning.

Observed evidence

The exact context–action view exposed substantial sparsity. This does not prove that the data cannot support every learning method; it proves that the required B1 support gate for this route is incomplete.

Turning point

Continuing to 3B would have optimized against a weakly supported formulation and risked turning synthetic assumptions into an apparently precise policy result.

Decision

Pause Experiment 3 without touching historical TEST, preserve its contract and evidence, and separate the redesigned business problem into Experiment 4.

04

Experiment 4

Close the learning loop around a business decision
Completed · G1–G7 · frozen local synthetic scope

Data

120,000 synthetic customers across PRIMARY/NULL and three seeds, separated into TRAIN, VALIDATION, and EVALUATION. Models use 38 decision-time features; purchase outcomes, oracle values, and latent variables stay outside the feature set.

Conditions

Choose an eligible package or NO_OFFER at a usage check. Separate recommendations from actual purchases, compare against business baselines, retain an equal-reward control, and freeze the rules and completion criteria before execution.

Observed evidence

One Random Forest algorithm/configuration was fitted separately for six scenario/seed combinations. Held-out evaluation covered 30,000 customers. In PRIMARY, ML beat NO_OFFER and UNIFORM in all three seeds, but beat CHEAPEST_SUITABLE in only two.

Turning point

Exact reload and reproduction agreement established engineering repeatability. Sensitivity showed that the small average advantage over the business rule could reverse when consumption assumptions changed.

Decision

Close all seven gates within the frozen local synthetic scope. Preserve mixed results and failed runs rather than tune retrospectively to make ML win. No further experiment is required for this closure.

Experiment 4 · Completed 24 October 2026 · G1–G7

Reproducible results. Assumption-dependent business advantage.

ปิดวงจรการทดลองครบแล้ว แม้ ML ยังไม่ชนะกฎธุรกิจอย่างสม่ำเสมอ เป้าหมายคือสร้างระบบที่ตรวจสอบ ทำซ้ำ และอธิบายข้อจำกัดได้ โดยไม่เปลี่ยนเกณฑ์ย้อนหลังเพื่อให้โมเดลชนะ

30,000 held-out customers
PRIMARY and NULL, three seeds each. NULL passed the equal-expected-reward control within tolerance. No retraining or tuning on EVALUATION.
2 wins, 1 loss
Against CHEAPEST_SUITABLE across the three PRIMARY seeds. The pooled advantage was about 2.68 satang per customer; it does not establish consistent superiority.
Exact repeatability in scope
Fresh-process reload of all six fitted instances matched saved predictions and actions. One PRIMARY seed was regenerated and refitted with the original configuration.
Results and interpretation / ผลและการตีความ Expand / ขยาย
PRIMARY ALL · 15,000 held-out customers · simulated expected contribution, THB/customer. These values are not realized profit or measured real-world uplift.
MeasureTHB/customer
ML expected contribution31.72992953
ML − NO_OFFER+2.25837166
ML − UNIFORM+1.46933900
ML − CHEAPEST_SUITABLE+0.02684681

CHEAPEST_SUITABLE is a reasoned business rule that prioritizes package coverage and price within the allowed actions. All policies obey the same eligibility constraints. The comparison tests whether ML adds value beyond an existing decision method.

What sensitivity changed

Six pre-specified settings changed costs, recommendation effect, or consumption assumptions while keeping customers, features, constraints, and policy weights fixed. No retraining or policy reselection followed the results.

  • Reducing consumption assumptions by 20% reversed the pooled ML advantage to −0.02226381 THB/customer. Two seeds still favored ML; the third seed’s loss outweighed their gains.
  • Lower recommendation effect reduced the average advantage to +0.00425835 THB/customer. At recommendation coefficient 1.8 and consumption ×1.2, ML beat cheapest in all three seeds.
  • Costs moved the absolute reward most within the tested ranges, but changed the ML-versus-cheapest gap little. Different perturbation sizes and untested interactions prevent a universal ranking of factor importance.

ML exceeded NO_OFFER and UNIFORM in every tested PRIMARY seed and sensitivity setting. A larger advantage over a baseline does not necessarily mean a larger absolute reward.

What engineering established

Fresh-process reload checked 60,321 candidate predictions across 30,000 customers: maximum prediction difference 0.0, zero action/top-set mismatches, including 34 exact-tie customers. PRIMARY/101 reproduction matched 18 tables semantically, with prediction differences 0.0 and no evaluation action mismatches. This was the same deterministic population on the same Mac, not additional independent customers.

Missing NumPy and a macOS path-alias guard failure were retained alongside their fixes and passing evidence. The learning was to test the dependencies and filesystem behavior of the actual execution environment, while keeping scientific rules unchanged.

Key lessons across four experiments

What changed in the way the problem is framed

Business case

Start with the decision, eligible actions, customer context, baseline, and outcome that matters. A technically learnable target is not automatically a useful or permissible offer decision.

Data

Row count is not enough. Coverage across the context–action space, provenance, simulated assumptions, support, and TRAIN/TEST custody determine which conclusions the data can support.

Machine learning

Model metrics, offline policy evidence, and policy learning answer different questions. ML may be better than, equal to, or worse than a sound business rule; the experiment must make every result interpretable.

Engineering

A successful run is not end-to-end proof. Data gates, model behavior, artifact registration, read-back, recovery, reproducibility, and business acceptance need distinct evidence and stop conditions.

Engineering evidence established

Across the journey, the work exercised synthetic data preparation, training, registration and prediction read-back. Experiment 4 completed data validation, business baselines, fixed training, held-out evaluation, fresh-process model reload, one-seed reproduction, sensitivity, and evidence review.

A completed pipeline remains separate from model quality, policy value, recovery proof, and business acceptance.

Current claim boundary

SYNTHETIC_LEARNING_AND_MLOPS_EVIDENCE_ONLY. The case does not establish operator behavior, production uplift, online-policy safety, production model quality, or readiness to deploy.

Experiment 3 remains paused with B1 incomplete. Experiment 4 is complete within its frozen local synthetic scope. Same-Mac reproduction does not establish a clean independent restore; that boundary is not an unfinished gate or a requirement to extend this experiment.