com.intel.hadoop.graphbuilder.preprocess.mapreduce
Class EdgeTransformMR

java.lang.Object
  extended by com.intel.hadoop.graphbuilder.preprocess.mapreduce.EdgeTransformMR

public class EdgeTransformMR
extends java.lang.Object

This MapReduce Class applies user defined "Reduce" and "Apply" functional on edges that share the same source or target vertex, determined by the reduceEndPoint parameter. The Reduce functional computes a sufficient statistics on a list of edges, and the Apply functional applies it back to each edge in the list.

For example, the tf*idf http://en.wikipedia.org/wiki/Tf*idf transformation can be done with two passes on a doc-word count graph.

First pass computes the term frequency (tf):