diff --git a/code/lib/lmdk_bgt.py b/code/lib/lmdk_bgt.py index 66f575f..9be736e 100644 --- a/code/lib/lmdk_bgt.py +++ b/code/lib/lmdk_bgt.py @@ -146,7 +146,7 @@ def exponential(seq, lmdks, epsilon): # Otherwise bgts = np.zeros([len(seq)]) if len(seq) != len(lmdks): - # Find worst case regural point + # Find worst case regular point p_sel = 0 for p in seq: if not np.any(lmdks[:] == p): @@ -190,7 +190,7 @@ def linear_zero(seq, lmdks, epsilon): bgts - The privacy budget allocation. ''' bgts = np.zeros([len(seq)]) - # Find worst case regural point + # Find worst case regular point p_sel = 0 for p in seq: if not np.any(lmdks[:] == p): @@ -227,7 +227,7 @@ def linear(seq, lmdks, epsilon): # Fallback to uniform if zero or max landmarks if len(lmdks) == 0 or len(lmdks) == len(seq): return uniform(seq, lmdks, epsilon) - # Find worst case regural point + # Find worst case regular point p_sel = 0 for p in seq: if not np.any(lmdks[:] == p): diff --git a/graphics/problem/lmdk-risk.pdf b/graphics/problem/lmdk-risk.pdf index 0565347..bc5be69 100644 Binary files a/graphics/problem/lmdk-risk.pdf and b/graphics/problem/lmdk-risk.pdf differ diff --git a/graphics/problem/lmdk-skip.pdf b/graphics/problem/lmdk-skip.pdf index d74c8f1..91405d1 100644 Binary files a/graphics/problem/lmdk-skip.pdf and b/graphics/problem/lmdk-skip.pdf differ diff --git a/graphics/problem/lmdk-tpl.pdf b/graphics/problem/lmdk-tpl.pdf index 2949df9..79b716d 100644 Binary files a/graphics/problem/lmdk-tpl.pdf and b/graphics/problem/lmdk-tpl.pdf differ diff --git a/graphics/problem/lmdk-uniform.pdf b/graphics/problem/lmdk-uniform.pdf index de2f09a..c5ead65 100644 Binary files a/graphics/problem/lmdk-uniform.pdf and b/graphics/problem/lmdk-uniform.pdf differ