UNPKG

differential-privacy

Version:

Implements Global Differential Privacy for almost any numeric function

5 lines (4 loc) 371 B
import { PrivatizedFunctionResult, PrivatizedFunction, PrivatizeOptions, SensitiveFunction } from './types'; export declare const privatize: <DATASET, OPTIONS extends PrivatizeOptions<DATASET>>(fnc: SensitiveFunction<DATASET>, options: OPTIONS) => PrivatizedFunction<DATASET, PrivatizedFunctionResult<OPTIONS>>; export * from "./datastructures"; export * from "./types";