Skip to content

Commit

Permalink
change imdb batch_size
Browse files Browse the repository at this point in the history
  • Loading branch information
haifeng-jin committed May 31, 2021
1 parent eea7a71 commit 8e11d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/imdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ def imdb_raw():
# Initialize the TextClassifier
clf = ak.TextClassifier(max_trials=3)
# Search for the best model.
clf.fit(x_train, y_train, epochs=2)
clf.fit(x_train, y_train, epochs=2, batch_size=8)
# Evaluate on the testing data.
print("Accuracy: {accuracy}".format(accuracy=clf.evaluate(x_test, y_test)))

0 comments on commit 8e11d2d

Please sign in to comment.