Tutorials¶
These tutorials are task-oriented walkthroughs. Each one names the model shape, the inference route, and the point where the result should be inspected or validated.
How to Use These Tutorials¶
Each tutorial is written as a workflow, not as a benchmark claim. The code blocks show the smallest useful path through the API; the surrounding text names the checks that make the result credible in a real project.
For exploratory work, start with the model shape and verify that fitting, scoring, and sampling run without warnings. For production-facing work, keep a separate validation split, record the estimator or program configuration, and save the diagnostic output that would explain a later promotion decision.
The tutorials intentionally point back to the reference guides. Use the walkthroughs to assemble a workflow, then use the guides to check edge cases, capability contracts, optional dependencies, and release-readiness expectations.
Choose by Problem¶
If you need to |
Walkthrough |
Surface |
|---|---|---|
model records with mixed field types |
Stable core |
|
express a model with the PPL layer |
Active development |
|
enumerate top-k support values |
Stable/evolving core |
|
save, serve, and monitor model artifacts |
Practical production helpers |
|
replace repeated LLM calls with a calibrated local model |
Active task workflow |
|
decide when an LLM should abstain |
Active reasoning workflow |
|
build shared representations for multiple modalities |
Active representation workflow |
|
combine distribution operations with structured decisions |
Stable/evolving core |
|
run an auditable model improvement loop |
Active design/evolution workflow |
What Each Tutorial Demonstrates¶
Tutorial |
Main idea |
Related guides |
|---|---|---|
A tuple-shaped row becomes a composite estimator, and a mixture adds a latent cluster over the whole record. |
||
|
||
A fitted model can expose ranked support traversal when the capability is available. |
||
Fitted models need provenance, registry metadata, serving wrappers, and drift checks. |
||
A teacher labels examples, a local model learns the task, and calibrated confidence decides whether to answer or escalate. |
Task Distillation, Task Serving, Routing, and Edge Deployment |
|
Repeated LLM samples become semantic entropy, answer confidence, and abstention decisions. |
||
Segmenters, embeddings, and vector quantizers turn heterogeneous modalities into a shared modeling stream. |
||
Distribution operations and structured feasible-set solvers solve different parts of a decision workflow. |
||
Diagnostics and objective-led search promote challengers only when they pass a verification gate. |