Skip to content

Commit a64d0b7

Browse files
Merge pull request #17955 from SamuelMarks:keras.datasets-defaults-to
PiperOrigin-RevId: 527314228
2 parents cb1e1a0 + 7ff7ccc commit a64d0b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

keras/datasets/reuters.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ def load_data(
6969
skip_top: skip the top N most frequently occurring words
7070
(which may not be informative). These words will appear as
7171
`oov_char` value in the dataset. 0 means no words are
72-
skipped. Defaults to 0
72+
skipped. Defaults to `0`.
7373
maxlen: int or None. Maximum sequence length.
7474
Any longer sequence will be truncated. None means no truncation.
7575
Defaults to `None`.
76-
test_split: Float between 0 and 1. Fraction of the dataset to be used
77-
as test data. 0.2 means that 20% of the dataset is used as
78-
test data. Defaults to 0.2
76+
test_split: Float between `0.` and `1.`. Fraction of the dataset to be
77+
used as test data. `0.2` means that 20% of the dataset is used as
78+
test data. Defaults to `0.2`.
7979
seed: int. Seed for reproducible data shuffling.
8080
start_char: int. The start of a sequence will be marked with this
8181
character. 0 is usually the padding character. Defaults to `1`.

0 commit comments

Comments
 (0)