mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
refactor(benchmarks): increase error tolerance of some benchmarks
This commit is contained in:
@@ -225,7 +225,7 @@ def main():
|
||||
# bench: Measure: Non Homomorphic Loss = non_homomorphic_loss
|
||||
# bench: Measure: Homomorphic Loss = homomorphic_loss
|
||||
# bench: Measure: Relative Loss Difference Between Homomorphic and Non Homomorphic Implementation (%) = difference
|
||||
# bench: Alert: Relative Loss Difference Between Homomorphic and Non Homomorphic Implementation (%) > 2
|
||||
# bench: Alert: Relative Loss Difference Between Homomorphic and Non Homomorphic Implementation (%) > 7.5
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -42,7 +42,7 @@ def main():
|
||||
correct += 1
|
||||
|
||||
# bench: Measure: Accuracy (%) = (correct / len(inputs)) * 100
|
||||
# bench: Alert: Accuracy (%) != 100
|
||||
# bench: Alert: Accuracy (%) < 95
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user