December 2017
Intermediate to advanced
536 pages
14h 23m
English
We proceed with the recipe as follows:
import tensorflow as tfimport numpy as npimport matplotlib.pyplot as plt
def normalize(X): """ Normalizes the array X""" mean = np.mean(X) std = np.std(X) X = (X - mean)/std return X
# Databoston = tf.contrib.learn.datasets.load_dataset('boston')X_train, Y_train = boston.data[:,5], ...Read now
Unlock full access