Hanzo University
University/Intelligence Engineering · KAI 301
KAI 301 · School of Intelligence Engineering · $299 USD

Training Decision Models

Train domain-specific Kai decision capabilities on your own operational data. Curate labeled decision datasets, run training jobs via POST /v1/capabilities/{name}/train, calibrate logits, evaluate slices, and promote capabilities safely to production.

COURSE SPECIFICATIONSKAI 301 · HKDM
DURATION4 Weeks · Applied Training Lab
LEVELAdvanced
CREDENTIAL CODEHKDM
VERIFICATIONW3C Capstone Proof
REQUIRED DEPLOYED CAPSTONE ARTIFACT
Custom Trained Kai Capability via /v1/capabilities/{name}/trainTrain, calibrate, red-team, and promote a custom business decision capability via POST /v1/capabilities/{name}/train that outperforms a baseline frontier prompt at a fraction of latency and cost.
AI FACULTY BOTS ASSIGNED TO KAI 301
@EduLearning Coach
Curriculum & Socratic TutorAdaptive explanations, concept checks, and personalized study paths across all 25 courses.
@DevEngineering Faculty
Systems & Code MentorArchitecture reviews, AST debugging, ZAP RPC, training loops, and deployment pipelines.
@DataMetrics & Causal Faculty
Data & Evaluation SpecialistDataset curation, causal inference, bandit evaluation, calibration, and reward diagnostics.
@QAAutograder Companion
Verification & Capstone ReviewerTest harness verification, regression checks, latency/cost bounds, and capstone readiness.
PrerequisitesKAI 201 or equivalent ML evaluation experience + Python proficiency
SELF-SERVICE ENROLLMENTOPEN ENROLLMENT
ONE-TIME ENROLLMENT
$299USD
SELF-SERVE ACCESSLabs & Capstone Included
Student & community codes:
Enroll in KAI 301 — $299 USD →Includes sandboxed training workspace and scoped GPU/API compute aligned to KAI 301 lab jobs.
Scoped Lab Compute & Interactive Workspace
Includes sandboxed training workspace and scoped GPU/API compute aligned to KAI 301 lab jobs. Heavy production workloads beyond lab budgets run on your own Hanzo Cloud plan or local GPU/Apple Silicon hardware.
LAB 01 · HANDS-ON WALKTHROUGHPOST /v1/capabilities/{name}/train

Lab 01: Teach Kai your business

A 9-step hands-on training lab turning raw business tickets, transactions, or routing logs into a calibrated, production-ready Kai capability via POST /v1/capabilities/{name}/train.

STEP 01POST /v1/capabilities
Define the Decision Capability SchemaSpecify strict input fields, discrete outcome labels (approve, escalate, deny), and business cost weights so every prediction is schema-bound.
$ hanzo cli capability create refund-eligibility --schema schema.json
STEP 02
Export & Sanitize Historical DecisionsIngest historical ground-truth decisions from logs, strip PII, remove label leakage, and inspect class imbalance across business slices.
$ hanzo dataset import ./ops_decisions.jsonl --redact-pii --dedupe
STEP 03
Construct Stratified Train / Calibration / Holdout SplitsUse temporal stratification so future edge cases stay strictly isolated in holdout evaluation and never leak into training.
$ hanzo dataset split refund-eligibility --train 0.70 --cal 0.15 --test 0.15 --temporal
STEP 04POST /v1/decisions
Benchmark the Zero-Shot BaselineMeasure baseline accuracy, F1, ECE calibration error, P95 latency, and cost-per-1k decisions before running any parameter updates.
$ hanzo eval run refund-eligibility --baseline zero-shot --split test
STEP 05POST /v1/capabilities/{name}/train
Launch Capability Training JobSubmit your structured training manifest to POST /v1/capabilities/{name}/train with cost-weighted loss and deterministic seed tracking.
$ curl -X POST https://api.hanzo.ai/v1/capabilities/refund-eligibility/train -H "Authorization: Bearer $HANZO_API_KEY" -d '{"dataset":"refund-eligibility:train","base_model":"kai-base","objective":"calibrated_ce","epochs":3}'
STEP 06GET /v1/capabilities/{name}/train/{job_id}
Inspect Loss, Slice Metrics & Hard NegativesStream training metrics, identify systematic error clusters across customer segments, and harvest hard negatives for a targeted refinement pass.
$ hanzo eval slices refund-eligibility --job $JOB_ID --top-errors 25
STEP 07POST /v1/capabilities/{name}/calibrate
Run Post-Training Calibration & Threshold SweepFit temperature scaling on the calibration split and compute optimal accept/abstain/reject thresholds minimizing expected dollar loss.
$ hanzo eval calibrate refund-eligibility --split cal --target-ece 0.02
STEP 08POST /v1/capabilities/{name}/deploy
Shadow Deploy Against Live Production TrafficMirror real traffic through your trained Kai capability in shadow mode to verify latency budgets, zero schema errors, and agreement rates.
$ hanzo deploy capability refund-eligibility --mode shadow --sample 1.0
STEP 09POST /v1/capabilities/{name}/promote
Qualify, Promote & Wire Continuous FeedbackPass automated cleanroom qualification gates, promote the version to active serving, and log human overrides back into the next retraining cycle.
$ hanzo deploy promote refund-eligibility --gate ece<=0.02,p99<=35ms --feedback auto

Competency Framework

What you build in KAI 301

Grounded in real models, real compute, real experiments, and verifiable engineering outcomes.

Capability schema & label taxonomy design for operational decisions
End-to-end training via POST /v1/capabilities/{name}/train
Hard-negative mining, preference pairs, and temperature/Platt calibration
Shadow rollout, slice regression testing, and continuous retraining loops

Curriculum Modules

Syllabus & Hands-On Labs

Every module pairs systems & theoretical lectures with verifiable sandboxed engineering labs.

KAI 301.1Decision Data Engineering & Capability Design (Lab 01 Foundations)
Week 1
Turn messy business operations into clean, leakage-free decision datasets with clear label rubrics and inter-annotator agreement.
Key Topics & Lectures
Structuring operational decision problems: binary gates, triage taxonomies, and rubric scores
Avoiding temporal leakage, selection bias, and delayed-label corruption
Walkthrough of Lab 01 Steps 1–4: schema creation, sanitization, splitting, and baseline eval
Assigned Readings & References
Hanzo Docs: Kai Capability Specification
Hanzo CLI: Dataset & Evaluation Workflows
Lab 01 (Part A): Complete Steps 1–4 of "Teach Kai your business" and record your verified baseline scorecard.
KAI 301.2Training Objectives, LoRA Adaptation & POST /v1/capabilities/{name}/train
Week 2
Train compact, specialized decision adapters using calibrated cross-entropy, focal loss, and margin-based preference objectives.
Key Topics & Lectures
Training API deep dive: POST /v1/capabilities/{name}/train manifests, hyperparameters, and checkpoints
Handling severe class imbalance with cost-weighted loss and hard-negative mining
Distilling high-cost teacher rubrics into sub-20ms Kai decision adapters
Assigned Readings & References
Hanzo Docs: Training Jobs & Capability Versioning
Lin et al.: Focal Loss for Dense Classification
Lab 01 (Part B): Execute Steps 5–6 on POST /v1/capabilities/{name}/train and run a hard-negative refinement pass.
KAI 301.3Calibration, Robustness & Adversarial Slice Testing
Week 3
Ensure trained capabilities maintain calibrated probabilities under distribution shift and adversarial inputs.
Key Topics & Lectures
Temperature scaling, isotonic calibration, and conformal prediction sets
Slice-based regression testing and adversarial perturbation suites
Out-of-distribution detection and safe fallback policies
Assigned Readings & References
Angelopoulos & Bates: A Gentle Introduction to Conformal Prediction
Lab 01 (Part C): Complete Step 7 calibration sweep and pass an adversarial slice stress test.
KAI 301.4Shadow Deployment, Promotion Gates & Continuous Retraining
Week 4
Operate trained Kai models in production with shadow evaluation, drift alerts, and automated retraining triggers.
Key Topics & Lectures
Shadow evaluation and dual-write auditing in production services
Automated qualification gates and safe rollback procedures
Closing the loop: turning human overrides into versioned training deltas
Assigned Readings & References
Hanzo Docs: Self-Improvement & Feedback Loops
Capstone Project (Lab 01 Steps 8–9): Shadow-deploy, qualify, and promote your trained Kai capability with live monitoring.

Capstone Verification & W3C Credential

Custom Trained Kai Capability via /v1/capabilities/{name}/train

Train, calibrate, red-team, and promote a custom business decision capability via POST /v1/capabilities/{name}/train that outperforms a baseline frontier prompt at a fraction of latency and cost. Upon passing automated cleanroom evaluation, you receive a W3C Verifiable Credential (HKDM) providing cryptographic proof of your completed practical capstone and live artifact.

Note: Hanzo University credentials verify practical engineering mastery and deployed capstone artifacts; they are professional certifications, not accredited academic degrees. Inspect verification format →

School of Intelligence Engineering

Continue Exploring the Curriculum

Related courses in this school and flagship starting tracks across Hanzo University.

KAI 201 · IntermediateHKDI
Decision IntelligenceStop using expensive generative LLMs for binary gates, triage, scoring, and routing. Master Kai finite-state decision models—calibrated probability outputs, structured schemas, zero-token control flow, and deterministic escalation.
ENS 201 · IntermediateHEAI
Adaptive IntelligenceDesign multi-model systems that adapt dynamically to task complexity, latency targets, and budget ceilings. Master Enso routing, cascade verification, fallback policies, and quality-cost Pareto optimization.
ENS 301 · AdvancedHEIO
Training Intelligent OrchestratorsGo beyond static routing rules and train learned orchestrators. Build contextual-bandit and RL routers that optimize multi-step tool selection, model dispatch, verification depth, and compute allocation online.
ZEN 201 · IntermediateHZME
Open-Weight Model EngineeringMaster open-weight Zen foundation models from weights to production serving. Learn MoE architectures, quantization (FP8, AWQ, GGUF), KV-cache memory math, vLLM/MLX serving, structured outputs, and systematic model evaluation.
ZEN 301 · ExpertHZNT
Native Model TrainingTrain and post-train open-weight Zen models natively. Build data mixtures, run distributed SFT, LoRA/DoRA, DPO, and verifiable-reward RL (GRPO), debug loss spikes, and release verified model checkpoints.
ML 401 · Staff / PrincipalHMLS
Advanced Machine Learning SystemsEngineer frontier ML infrastructure from GPU kernels to multi-node scheduling. Master CUDA/Triton/Metal kernels, disaggregated prefill/decode serving, distributed storage, high-speed interconnects, and fault-tolerant fleet orchestration.