Skip to content

Commit

Permalink
Merge pull request #17955 from SamuelMarks:keras.datasets-defaults-to
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 527314228
  • Loading branch information
tensorflower-gardener committed Apr 26, 2023
2 parents cb1e1a0 + 7ff7ccc commit a64d0b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions keras/datasets/reuters.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ def load_data(
skip_top: skip the top N most frequently occurring words
(which may not be informative). These words will appear as
`oov_char` value in the dataset. 0 means no words are
skipped. Defaults to 0
skipped. Defaults to `0`.
maxlen: int or None. Maximum sequence length.
Any longer sequence will be truncated. None means no truncation.
Defaults to `None`.
test_split: Float between 0 and 1. Fraction of the dataset to be used
as test data. 0.2 means that 20% of the dataset is used as
test data. Defaults to 0.2
test_split: Float between `0.` and `1.`. Fraction of the dataset to be
used as test data. `0.2` means that 20% of the dataset is used as
test data. Defaults to `0.2`.
seed: int. Seed for reproducible data shuffling.
start_char: int. The start of a sequence will be marked with this
character. 0 is usually the padding character. Defaults to `1`.
Expand Down

0 comments on commit a64d0b7

Please sign in to comment.