Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[keras/datasets] Standardise docstring usage of "Default to" #17955

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
SamuelMarks marked this conversation as resolved.
Show resolved Hide resolved
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.
SamuelMarks marked this conversation as resolved.
Show resolved Hide resolved
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