dsL2Sens | R Documentation |
Calculation of the l2 sensitivity using a histogram representetation. Source: https://www.cis.upenn.edu/~aaroth/Papers/privacybook.pdf
dsL2Sens(
connections,
dat_name,
pred_name,
nbreaks = NULL,
cols = NULL,
drop_on_error = TRUE
)
connections |
('DSI::connection') Connection to an OPAL server. |
dat_name |
('character(1)') The name of the data at the DataSHIELD servers. |
pred_name |
('character(1)') Name of the prediction object at the DataSHIELD server. |
nbreaks |
('integer(1L)') Number of breaks used for the histogram (default = nrow(dat) / 3). |
cols |
('character()') Subset of columns used to find adjacent inputs. |
drop_on_error |
('logical(1L)') NA is returned if an error occurs on a server. |
List with maximal l2 sensitivity, indices of inputs that are used to calculate the maximal l2 sensitivity, and the number of adjacent inputs.
Daniel S.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.