In [ ]:
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
%load_ext autoreload
%autoreload 2
In [ ]:
num_samples, num_features = 10, 5
In [ ]:
np.random.seed(10)
data = np.random.rand(num_samples, num_features)
In [ ]:
print(data)
In [ ]:
def standardize(x):
''' fill your code in here...
'''
return x
std_data = standardize(data)
In [ ]:
print(std_data, "\n\n", np.mean(std_data, axis=0), "\n\n", np.std(std_data, axis=0))