rca_analysis_ensemble
Run multiple RCA models on the same data and combine root-cause scores via weighted voting to get a consensus ranking when you're unsure which model family fits best.
Instructions
Run 2-5 different RCA models on the SAME payload and combine their root-cause scores via weighted voting. Requires the ensemble feature (Pro+). Use this when you're unsure which single model family fits the data best and want cross-validation across families -- for the SAME model run over multiple different incidents instead, use rca_analysis_batch.
Algorithm:
Run each model_id via dispatch_rca()
Collect all root_cause {node, score} pairs
For each unique node: ensemble_score = sum(weight_i * score_i * confidence_i)
Normalise to [0,1]
Return ranked ensemble result
Args: params (EnsembleInput): - model_ids: 2-5 existing models, all run against the same payload - payload: shared input, shape depends on the models' families - weights: optional per-model weights, same length as model_ids (default: equal weighting) - save: persist the ensembled result (default true)
Returns: str: JSON with ensemble_root_causes (ranked), model_contributions, agreement_matrix (which models agree on which root causes), or a bad_input/not_found error
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |