Ir al contenido

Unusual Activity

Esta página aún no está disponible en español. Se muestra la versión en inglés.

Flag the weeks, invoices, lanes or machines that are unusual, at a rate you choose, each with a plain explanation of what was expected instead.

You don’t pick this analysis. Ask your question in your own words and the Scientist chooses it.

“What looks wrong?” without a wall of alerts. You choose how many flags you can handle (1% of rows by default), and the Scientist flags only the most unusual ones, each with the value it expected and why the real one stands out.

It works three ways, chosen from your data:

  • A series against its own normal: each week compared with that item’s recent level and its usual season, including runs of several weeks in a row on the same side.
  • A row against what it should be: an invoice amount compared with what its quantity and vendor would predict.
  • Rows that are unusual in combination: nothing out of range on its own, but an odd mix together.
  • “Flag the journal entries or invoices that look wrong.”
  • “Which days had unusual return rates by store?”
  • “Which SKUs had unusual sales swings on any marketplace last month?”
  • “Which lanes had late-delivery spikes this quarter?”
  • “Is this line out of control?”
  • “Which communities had unusual overtime or incident weeks?”
  • “Flag spend spikes by campaign.”

In the paper:

  • Only the flagged rows, most unusual first. Each has its expected value, its normal band, a score, and an explanation such as “unusual: 9,800 against an expected 1,200”.
  • The false-flag rate: the share of normal rows the check flags anyway, measured on normal rows it never saw, against the rate you asked for. The paper says whether it’s on target, or that it flags more or fewer than you asked.
  • Precision and recall, when your data has a column of confirmed problems. Precision is how many of the flagged rows were real problems; recall is how many of the real problems were flagged.

A daily series with the unexplained dip and spike marked apart from the promotion days

The unusual days the Scientist could not explain, each one's actual value against what was expected

  • Check new periods or rows. Attach next week’s data or this month’s invoices and ask which are unusual. The saved model scores them, flags them and explains each one, and it remembers each series’ recent values so new weeks are compared fairly.
  • Change the rate, such as “Flag the top half percent instead.”
  • Chase the exceptions with the team that owns them.
  • For series: a dated series per item. A week needs at least 4 earlier values before it can be judged, and checking against the season needs 3 full cycles, such as three years of monthly data.
  • For rows: at least 30 rows.
  • Optionally, a column of confirmed problems (invoices that were later found to be wrong), so it can report precision and recall.
  • A wall of alerts. You set the rate, and it reports whether it’s actually flagging at that rate on normal data.
  • Seasonal peaks that look unusual. A big December isn’t flagged if every December is big; each series is compared with its own season.
  • Big invoices that are fine. A large invoice for a large quantity isn’t unusual; the “what it should be” mode compares each amount with what its quantity and vendor predict.
  • A slow drift. Runs of several periods on the same side of normal are caught even when no single week stands out.
  • It flags, it doesn’t explain the cause overall. It says which rows are unusual and by how much, not what drives anomalies in general. Ask What drives a number for that.
  • Without confirmed problems, it can’t tell a real problem in the history from a false flag. Real problems in the past count against its false-flag rate.
  • When it’s off target, it says so, for example that it flags more rows than you asked.