mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-10 04:35:03 -05:00
refactor(benchmarks): reduce alert tolerance from 5% to 2% from the cleartext version
This commit is contained in:
@@ -225,7 +225,7 @@ def main():
|
||||
# Measure: Non Homomorphic Loss = non_homomorphic_loss
|
||||
# Measure: Homomorphic Loss = homomorphic_loss
|
||||
# Measure: Relative Loss Difference Between Homomorphic and Non Homomorphic Implementation (%) = difference
|
||||
# Alert: Relative Loss Difference Between Homomorphic and Non Homomorphic Implementation (%) > 5
|
||||
# Alert: Relative Loss Difference Between Homomorphic and Non Homomorphic Implementation (%) > 2
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -302,7 +302,7 @@ def main():
|
||||
# Measure: Non Homomorphic Accuracy = non_homomorphic_accuracy
|
||||
# Measure: Homomorphic Accuracy = homomorphic_accuracy
|
||||
# Measure: Accuracy Difference Between Homomorphic and Non Homomorphic Implementation (%) = difference
|
||||
# Alert: Accuracy Difference Between Homomorphic and Non Homomorphic Implementation (%) > 5
|
||||
# Alert: Accuracy Difference Between Homomorphic and Non Homomorphic Implementation (%) > 2
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user