Skip to main content
. 2021 Apr 22;7:e481. doi: 10.7717/peerj-cs.481

Table 1. Algorithm 1.

Sampling algorithm
Input: The current privacy budget ϵi, the predicted value y ˆij, the release data at the last sampling timestamp x ~lj
Output: Sampling or not
Calculation dis=y ˆijx ~lj
Calculation λij=1ϵi
Ifdis > λi, then
Set i as the sampling point, update sampling interval
I =i −l
Else
i is not a sampling point, release predictive value y ˆij
End if