UNPKG

differential-privacy

Version:

Implements Global Differential Privacy for almost any numeric function

4 lines (3 loc) 309 B
import { SensitiveFunction, NewShadowDatasetIterator } from './types'; import Decimal from 'decimal.js'; export declare function calculateSensitivity<DATASET>(func: SensitiveFunction<DATASET>, newSubsetIter: NewShadowDatasetIterator<DATASET>, dataset: DATASET, maxConcurrencyCount: number): Promise<Decimal>;