liveBook · Manning

Consensus voting

As explained in Outlier Detection in Python

Detector consensus is an agreement-based method that derives labels from the combined decisions of multiple outlier detectors.

Consensus voting derives provisional inlier/outlier labels from the agreement of multiple outlier detectors. It avoids manually inspecting every record, but assumes most detectors perform reasonably well. section 14.4 section 14.4.2

A practical consensus workflow is:

  • Choose a scaling method and a score-combining method for the detectors. section 14.4.2
  • Run many detectors, preferably including diverse variants, and combine their scores into a final score. section 14.4.2
  • Use the resulting consensus labels as pseudo-ground truth when selecting a smaller ensemble. section 14.4 section 14.4.2
  • Balance similarity to the consensus against training time, prediction time, and robustness; favor diversity when robustness is difficult to test. section 14.4.2

Consensus is a practical shortcut rather than guaranteed ground truth: it may be weaker than a manually inspected superset of flagged records. Score-combination choices also affect whether the system emphasizes avoiding false positives or missing outliers; thresholds can shift that balance. section 14.4 section 14.6

How Outlier Detection in Python covers it

How deep it goes
Explains the workflow, assumptions, trade-offs, and score-threshold implications without deriving detector-combination formulas.
Examples
Uses manually inspected flagged records, combined detector scores, and smaller detector subsets as teaching artifacts.
What it assumes
Assumes multiple detector outputs plus chosen scaling and score-combining methods; does not require reliable labels when pseudo-ground truth is acceptable.
What you can do after
Evaluate/understand how detector agreement can label records and compare reduced ensembles by accuracy, speed, and robustness.
How it connects
Connects outlier detectors with ensembles, pseudo-ground truth, score combination, detector diversity, and false-positive versus false-negative trade-offs.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Outlier Detection in Python. The section links point to the parts of the book it draws on.