[TF-DF] Fix flaky test

PiperOrigin-RevId: 822617326
This commit is contained in:
Richard Stotz 2025-10-22 09:16:27 -07:00 committed by Copybara-Service
parent f1f48be4af
commit 85d759c873
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ class TFDFDistributedTest(parameterized.TestCase, tf.test.TestCase):
# training due to the Keras limitation discussed in the notes above.
# However, because of the currently required repeat, if workers are
# running at different speed, some examples can be repeated.
self.assertAlmostEqual(evaluation["accuracy"], 0.8603476, delta=0.02)
self.assertAlmostEqual(evaluation["accuracy"], 0.8603476, delta=0.025)
def test_distributed_training_adult_from_file(self):
# Path to dataset.