Type tf.keras.datasets.boston_housing
Namespace tensorflow
Public static methods
ValueTuple<object, object> load_data(string path, double test_split, int seed)
Loads the Boston Housing dataset.
Parameters
-
string
path - path where to cache the dataset locally (relative to ~/.keras/datasets).
-
double
test_split - fraction of the data to reserve as test set.
-
int
seed - Random seed for shuffling the data before computing the test split.
Returns
-
ValueTuple<object, object>
- Tuple of Numpy arrays: `(x_train, y_train), (x_test, y_test)`.
object load_data_dyn(ImplicitContainer<T> path, ImplicitContainer<T> test_split, ImplicitContainer<T> seed)
Loads the Boston Housing dataset.
Parameters
-
ImplicitContainer<T>
path - path where to cache the dataset locally (relative to ~/.keras/datasets).
-
ImplicitContainer<T>
test_split - fraction of the data to reserve as test set.
-
ImplicitContainer<T>
seed - Random seed for shuffling the data before computing the test split.
Returns
-
object
- Tuple of Numpy arrays: `(x_train, y_train), (x_test, y_test)`.