getPositiveScores: Return positive scores

View source: R/get_scores.R

getPositiveScoresR Documentation

Return positive scores

Description

This function just returns positive scores and is used as aggregator to send these positive scores.

Usage

getPositiveScores(
  truth_name,
  prob_name,
  epsilon = 0.2,
  delta = 1e-05,
  seed_object = NULL,
  sort = FALSE
)

Arguments

truth_name

('character(1L)') Character containing the name of the vector of 0-1-values encoded as integer or numeric.

prob_name

('character(1L)') Character containing the name of the vector of probabilities.

epsilon

('numeric(1L)') Privacy parameter for differential privacy (DP).

delta

('numeric(1L)') Probability of violating epsilon DP.

seed_object

('character(1L)') Name of an object which is used to add a seed based on an object.

sort

('logical(1L)') Indicator whether the return values should be sorted or not.

Value

Positive scores

Author(s)

Daniel S., Raphael R.


difuture-lmu/dsROCGLM documentation built on March 24, 2024, 1:07 p.m.