UDF for computing correlation and covariance between data sets
--------------------------------------------------------------

                 Key: PIG-277
                 URL: https://issues.apache.org/jira/browse/PIG-277
             Project: Pig
          Issue Type: New Feature
            Reporter: Ajay Garg
            Priority: Minor


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 COR('a','b','c');
D = foreach B generate group,c(A.$0,A.$1,A.$2);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to