Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
UDFs for computing correlation and covariance between data sets. Use following commands to compute covariance
A = load 'input.xml' using PigStorage(':');
B = group A all;
define c COV('a','b','c');
D = foreach B generate group,c(A.$0,A.$1,A.$2);