Pearson Correlation Coefficient is a measure of the linear correlation between two variables, X and Y, defined as,
Let
then,
We use an MPC protocol called SPDZ for Heterogeneous Pearson Correlation Coefficient calculation. For more details, one can refer to [README].
.. automodule:: federatedml.param.pearson_param :members:
params: |
Note if both params are provided, the union of columns indicated are used for calculation. |
||||
---|---|---|---|---|---|
examples: | There is an example :download:`[conf] <../../../../examples/dsl/v2/hetero_pearson/test_conf.json>` and :download:`[dsl] <../../../../examples/dsl/v2/hetero_pearson/test_dsl.json>` |