Skip to main content

Model ensemble

Run independent predictors and combine them through a versioned aggregation rule.

Model ensemble

Activity responsibilities

ActivityResponsibility
prepare-inputExecute the prepare input stage and publish its declared outputs for downstream activities.
predict-aExecute the predict A stage and publish its declared outputs for downstream activities.
predict-bExecute the predict B stage and publish its declared outputs for downstream activities.
predict-cExecute the predict C stage and publish its declared outputs for downstream activities.
combine-predictionsExecute the combine predictions stage and publish its declared outputs for downstream activities.
evaluate-ensembleExecute the evaluate ensemble stage and publish its declared outputs for downstream activities.
publishExecute the publish stage and publish its declared outputs for downstream activities.

Inputs

  • Input dataset
  • Component models
  • Aggregation policy

Outputs

  • Component predictions
  • Ensemble output
  • Evaluation

Provenance to preserve

  • Component versions
  • Aggregation weights
  • Per-model logs

Runnable example

This is the complete checked-in bundle for this pattern. Download the environment, scope, topology, workflow, input, container recipe, runner, and validation contract from this page before executing it.

Verified local execution

These captures and the output manifest were produced by the fixture's local Docker run and validator. They are published with the same bundle as the runnable files.

Model ensemble workflow execution evidence
Workflow evidence
Model ensemble execution evidence
Execution evidence
Model ensemble output evidence
Output evidence
Open verified output manifest ↓

Execution considerations

Components may run in different environments. Transfer predictions when co-locating incompatible frameworks is more expensive.

AkôFlow boundary: the engine schedules, deploys, executes, transfers data, and records evidence. The ML or agent framework remains an implementation choice inside each activity.