Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified assets/pipeline-demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 21 additions & 6 deletions assets/pipeline-demo.tape
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ Enter
Sleep 1400ms
Type@55ms `print(f"{type(dataset).__name__}: {len(dataset)} resources")`
Enter
Sleep 2600ms
Sleep 700ms
Type `gain("Any format handled automatically")`
Enter
Sleep 2000ms

Hide
Type `step("✂️ 2/5 Patient-wise split — no leakage between sets")`
Expand All @@ -42,7 +45,10 @@ Enter
Sleep 900ms
Type `parts.save()`
Enter
Sleep 2200ms
Sleep 700ms
Type `gain("No data leakage across patients")`
Enter
Sleep 2000ms

Hide
Type `step("🧠 3/5 Train")`
Expand All @@ -64,7 +70,10 @@ Enter
Sleep 1000ms
Type@55ms `print(f"iou: {metrics['iou']:.4f}")`
Enter
Sleep 2600ms
Sleep 700ms
Type `gain("Trained & tracked automatically in MLflow")`
Enter
Sleep 2000ms

Hide
Type `step("✅ 4/5 Validate before shipping it")`
Expand All @@ -77,7 +86,10 @@ Enter
Sleep 800ms
Type `print(report)`
Enter
Sleep 2200ms
Sleep 700ms
Type `gain("Caught before shipping")`
Enter
Sleep 2000ms

Hide
Type `step("🚀 5/5 Deploy")`
Expand All @@ -90,10 +102,13 @@ Enter
Sleep 800ms
Type `print(f"Status: {job.status}")`
Enter
Sleep 1800ms
Sleep 700ms
Type `gain("Live in production")`
Enter
Sleep 2000ms

Hide
Type `finale()`
Enter
Show
Sleep 4500ms
Sleep 3000ms
11 changes: 5 additions & 6 deletions assets/pipeline_demo_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ def step(title):
print()


def gain(text):
print()
print(f"✅ {text}")


def finale():
print("\033[H\033[2J", end="")
print("🏁 From raw data to a deployed model in 7 lines")
print()
print("✅ Dataset loaded — any format, auto-detected")
print("✅ Patient-wise split — no data leakage")
print("✅ Trained & tracked in MLflow")
print("✅ Validated before shipping")
print("✅ Deployed and live")


def _bar(pct, width=22):
Expand Down
Loading