|TensorFlow 1 version||View source on GitHub|
Loads the Boston Housing dataset.
Compat aliases for migration
See Migration guide for more details.
tf.keras.datasets.boston_housing.load_data( path='boston_housing.npz', test_split=0.2, seed=113 )
This is a dataset taken from the StatLib library which is maintained at Carnegie Mellon University.
Samples contain 13 attributes of houses at different locations around the Boston suburbs in the late 1970s. Targets are the median values of the houses at a location (in k$).
The attributes themselves are defined in the StatLib website.
path where to cache the dataset locally
||fraction of the data to reserve as test set.|
||Random seed for shuffling the data before computing the test split.|
Tuple of Numpy arrays:
x_train, x_test: numpy arrays with shape
y_train, y_test: numpy arrays of shape