Data ScienceModel deployment and MLOps

Build a lightweight experiment tracking convention

PK
Pankit Kumar
Sr. Data Scientist at Parexel (a Goldman Sachs–backed company) · 20 September 2026 · 2 min read
Technically reviewed by Ishaan Sharma
In this article (5 sections)

Experiment tracking begins with a complete record, not a particular platform. Each run should answer which code, data, parameters and environment produced which artifact and metric, and what decision followed.

Eight required fields

The local deployment lab creates a JSON-compatible record with run ID, UTC creation time, code revision, data hash, parameters, metrics, artifact hash and decision.

python
from deployment_cases import experiment_case

result = experiment_case()
assert result["complete"] is True
assert result["record"]["metrics"]["held_out_test_auc"] > 0
print(result["required_fields"])

The recorded held-out AUC is executed on the original synthetic fixture and is approximately 0.785. It is a test description, not a validation metric for choosing another candidate. The record’s decision is recorded_for_review.

Separate run from release

A run may fail, be exploratory or remain unselected. Preserve it. A release points to a reviewed run plus schema, environment, approval and operating policy. Do not overwrite a run when parameters change; create a new ID.

Record metric name, population, split and threshold, not only a number. Attach curves and slice reports as artifacts. Log random seeds and resource settings. Keep secrets and private rows outside public metadata.

Start simple and automate checks

A versioned JSON file and structured artifact folder can support a small project. Add a database or tracking server when concurrency, search and access control require it. Whatever the tool, validate required fields and hash artifacts in CI.

Tracking does not prevent test tuning by itself. Enforce data roles in the evaluation process and mark exploratory metrics clearly.

The Data Science course uses lightweight lineage to support comparison, handover and rollback.

Exercise

Create records for three candidates, including one failed run. Write a script that rejects missing data hash, metric population or artifact hash and generates a comparison table without selecting on test.

Continue learning

This article is part of the Model deployment and MLOps sequence. Use the neighbouring tasks when you need the prerequisite or the next application.

Reference: MLflow tracking concepts.

PK
Pankit Kumar
Lead Instructor, NeuraPath Academy

Pankit Kumar has 10 years in Data Science & AI, building and shipping production systems in regulated pharma and clinical environments. He is a freelance trainer at Boston Institute of Analytics, AnalytixLabs and Scaler, and has taught this material to thousands of working professionals.

This article is part of our Data Science programme — 6 months. From data foundations to machine learning, deep learning and deployment.

Explore Data Science
Counselling is free · no obligation

Not sure which programme fits?

Tell us your background and we will map it to the right entry point — including saying so when a cheaper programme is the better fit. A counsellor replies within one working day.