Skip to content

Commit

Permalink
Relaxed test metrics
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 599743562
  • Loading branch information
rstz authored and copybara-github committed Jan 19, 2024
1 parent 23fb1c8 commit 207b647
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tensorflow_decision_forests/keras/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ py_test(
"@ydf//yggdrasil_decision_forests/test_data",
],
python_version = "PY3",
shard_count = 30,
shard_count = 50,
deps = [
":core",
":keras",
Expand Down
3 changes: 2 additions & 1 deletion tensorflow_decision_forests/keras/keras_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2878,7 +2878,8 @@ def test_node_format_blob_sequence(self):
"""Test that the node format is BLOB_SEQUENCE if required."""
dataset = adult_dataset()
model = keras.RandomForestModel(
advanced_arguments=keras.AdvancedArguments(node_format="BLOB_SEQUENCE")
num_trees=10,
advanced_arguments=keras.AdvancedArguments(node_format="BLOB_SEQUENCE"),
)
ds = keras.pd_dataframe_to_tf_dataset(dataset.train, dataset.label)
model.fit(ds)
Expand Down

0 comments on commit 207b647

Please sign in to comment.