Skip to content

Reduction Mode Example

Amy Boyer edited this page Feb 4, 2019 · 31 revisions

This example is to clarify the difference between how default reduction and running reduction work. Imagine the extract from each classification produces a number from 0 to 10 and the reducer computes the average of these numbers.

The same extracts are processed by each reducer in the same order and we illustrate the changing values in the system as they arrive.

I need more words here to push the table further down the page.

Default Reduction

Extract ID Extract Value Extracts received by reducer Reducer Store value Operation Reduction Output Value Reduction Store Value Items in Association
1 5 1 nil 5/1 = 5 5 nil 0

Running Reduction

Clone this wiki locally