July 2018
Intermediate to advanced
474 pages
13h 37m
English
The following steps walk through validating that our array has been normalized.
print('standard deviation')print(round(X[:,0].std(axis=0),0))print('mean')print(round(X[:,0].mean(axis=0),0))
data_array = np.column_stack((X[:,0], X[:,1],y))
Read now
Unlock full access