liveBook · Manning

Retrieval ranking

As explained in Outlier Detection in Python

An ordering of observations from lowest to highest or highest to lowest according to their values.

Ranking assigns observations positions according to their values. It helps compare detector outputs when their score scales differ and can turn naturally ordered identifiers into positions for processing. section 8.4 section 9.2.4

Ranking supports two practical tasks:

  • Compare outlier detectors with Spearman correlation, which measures the Pearson correlation between score ranks rather than raw scores. section 8.4
  • Focus comparison on likely outliers: one approach keeps records in at least one detector’s top 5%; another ranks each score column and zeros ranks at or below the 95th percentile. section 8.4
  • Convert sequential employee IDs, even when numbering starts somewhere other than 1, into rank order for processing. section 9.2.4

How Outlier Detection in Python covers it

How deep it goes
Uses ranks for score correlation, high-score filtering, and identifier conversion without defining a general ranking algorithm.
Examples
Uses detector scores on abalone data and sequential employee IDs as ranking examples.
What you can do after
Evaluate detector agreement by comparing score ranks and focusing analysis on high-scoring records.
How it connects
Connects ranking to Spearman correlation, outlier detection, and ordered identifier values.

Also explained in

Compare how 4 books explain retrieval ranking →

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.