Skip to content

Commit

Permalink
Sync parameter order in boston_housing with reuters (#8326)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozabluda authored and fchollet committed Oct 31, 2017
1 parent 7230b00 commit de17ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keras/datasets/boston_housing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
import numpy as np


def load_data(path='boston_housing.npz', seed=113, test_split=0.2):
def load_data(path='boston_housing.npz', test_split=0.2, seed=113):
"""Loads the Boston Housing dataset.
# Arguments
path: path where to cache the dataset locally
(relative to ~/.keras/datasets).
test_split: fraction of the data to reserve as test set.
seed: Random seed for shuffling the data
before computing the test split.
test_split: fraction of the data to reserve as test set.
# Returns
Tuple of Numpy arrays: `(x_train, y_train), (x_test, y_test)`.
Expand Down

0 comments on commit de17ff3

Please sign in to comment.