Sub topic 12
Running a Trial and Recording the Decision
Assume you know basic Python, can train and evaluate a model, and understand hyperparameters, validation splits, and client-server applications. This chapter shows how to choose a tracker by running a small, fair trial instead of relying on feature lists or personal preference.
Start with a decision question
Write the decision as a question with a deadline:
> Which tracker should our team use for the next six months, given our data-governance rules, collaboration needs, and monthly budget?
A trial should answer this question. It should not become an attempt to test every feature.
Define the constraints before testing:
- The training environment and Python version.
- The data that may leave your network.
- The people who need access to results.
- The expected number of runs, metrics, and artifacts.
- The storage and monthly cost limit.
- Required features, such as model registration or a private deployment.
Separate requirements from preferences. A requirement is a condition that must pass. A preference helps distinguish two options that already pass.
Design a fair, time-boxed trial
Use the same workload with each candidate. For example, run one baseline and two variations of a churn model. Log the same parameters, validation metrics, tags, dataset identifier, and model artifact.
A one-week trial might use this schedule:
- Day 1: Define criteria, constraints, and test data.
- Days 2–3: Instrument the training script with MLflow.
- Days 4–5: Instrument the same script with Weights & Biases.
- Day 6: Compare usability, reliability, and costs.
- Day 7: Review results and record the decision.
Keep the workload small enough to repeat. A trial that depends on a month of production traffic cannot support a timely decision.
Measure evidence rather than impressions. Record how long it takes to add tracking, how often runs fail to appear, how easy it is to compare runs, and how much storage the artifacts consume.
Use explicit evaluation criteria
A useful scorecard combines pass/fail gates with weighted scores. Do not allow a high collaboration score to hide a governance failure.
| Criterion | Evidence to collect | Example rule |
|---|---|---|
| Integration effort | Lines changed and setup time | First run in less than one day |
| Reliability | Missing logs and failed uploads | No missing required metrics |
| Collaboration | Run comparison and access controls | Analysts can compare runs |
| Governance | Data location, retention, and permissions | Meets company policy |
| Cost | Service, storage, and network estimates | Within the monthly limit |
| Portability | Exported metrics, artifacts, and code | Can reproduce a selected run |
Mark requirements as pass, fail, or unknown. Investigate every unknown before deciding. For preferences, assign weights such as 1 to 5, then document why each score was given.
A simple decision might look like this:
- MLflow passes the private-network requirement and offers flexible storage, but requires more team-managed infrastructure.
- Weights & Biases provides a polished hosted workflow and strong collaboration, but its data-handling terms and subscription cost require approval.
- Both tools meet the integration requirement.
- The team chooses MLflow because governance is a hard requirement and collaboration needs are still modest.
The choice should follow the constraints, not the total number of features.
Record the decision
Store a short decision record beside the training code or in the team’s engineering documentation. Include:
- The decision and date.
- The alternatives tested.
- The workload, versions, and dataset identifiers.
- The criteria, weights, and pass/fail gates.
- Links to representative runs.
- Cost and governance assumptions.
- Known limitations.
- An owner and a review date.
- Conditions that would trigger a re-evaluation.
Use exact identifiers. “The latest dataset” is not reproducible. Record a commit hash, image tag, dataset version, tracker version, and configuration.
A decision is reversible when the team preserves raw metrics, artifact references, and the thin tracking interface used by training code. Revisit the decision when workload size, regulations, hosting requirements, or team size changes.
Exercise
A hosted tracker is easier to use, but it cannot satisfy your requirement that training data remain inside a private network. What should the scorecard record, and what decision follows?
Show answer
Record the governance criterion as a failed hard requirement. Do not choose the hosted tracker unless its deployment or data path can be changed to satisfy that requirement.