@CallumIrving/

qwerpoiu

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Python version
import sys
print('Python: {}'.format(sys.version))
# scipy
import scipy
import numpy
import numpy as np
import matplotlib
import pandas
import sklearn
from sklearn import preprocessing
import seaborn

input_data = np.array([[3, -1.5, 3, -6.4], [0, 3, -1.3, 4.1], [1, 2.3, -2.9, -4.3]])
data_standardized = preprocessing.scale(input_data)
print ("\nMean = ", data_standardized.mean(axis = 0))
print ("Std deviation = ", data_standardized.std(axis = 0))