This PR contains 2 mechanisms which are exposed to the Python layer:
TheilSen - a data transformation which returns an array of pairwise slopes and intercepts from the given data.
DpGumbelMedian - implementation of a DP median using noise sampled from a Gumbel distribution.
Potential To Dos:
One function is being left here, though it is not being used directly. dp_theil_sen_k_subset - selects k random points from data and performs dp_theil_sen on them. This may not be needed, given that we have theil_sen_k_match which selects (n/2) pairs k times, for k*n/2 < n^2
Some functions in linreg_theilsen.rs may be made private.
This PR contains 2 mechanisms which are exposed to the Python layer:
Potential To Dos:
One function is being left here, though it is not being used directly. dp_theil_sen_k_subset - selects k random points from data and performs dp_theil_sen on them. This may not be needed, given that we have theil_sen_k_match which selects (n/2) pairs k times, for k*n/2 < n^2
Some functions in linreg_theilsen.rs may be made private.