code: Update

This commit is contained in:
2021-10-09 04:00:36 +02:00
parent 8f3aea5dfb
commit 0c2f582e75
8 changed files with 138 additions and 6 deletions

View File

@ -27,7 +27,7 @@ def main(args):
# Landmarks' thresholds
lmdks_th = [0, .54, .68, .88, 1.12, 10]
# The privacy budget
epsilon = 10.0
epsilon = 1.0
# Number of methods
n = 3
@ -48,7 +48,7 @@ def main(args):
# The y axis
plt.ylabel('Mean absolute error (kWh)') # Set y axis label.
plt.yscale('log')
plt.ylim(.01, 1000)
plt.ylim(.1, 10000)
# Bar offset
x_offset = -(bar_width/2)*(n - 1)

View File

@ -25,7 +25,7 @@ def main(args):
# Landmarks' thresholds
lmdks_th = [0, .54, .68, .88, 1.12, 10]
# The privacy budget
epsilon = 10.0
epsilon = 1.0
# Number of methods
n = 3
@ -46,7 +46,7 @@ def main(args):
# The y axis
plt.ylabel('Mean absolute error (kWh)') # Set y axis label.
plt.yscale('log')
plt.ylim(.01, 1000)
plt.ylim(.1, 10000)
# Bar offset
x_offset = -(bar_width/2)*(n - 1)