# Neural Networks Demystified
# Part 1: Data + Architecture
#
# Supporting code for short YouTube series on artificial neural networks.
#
# Stephen Welch
# @stephencwelch

import numpy as np

# X = (hours sleeping, hours studying), y = Score on test
X = np.array(([3,5], [5,1], [10,2]), dtype=float)
y = np.array(([75], [82], [93]), dtype=float)

# Normalize
X = X/np.amax(X, axis=0)
y = y/100 #Max test score is 100
[((12, 4, 12, 49), 'numpy.array', 'np.array', (), '', True, 'import numpy as np\n'), ((13, 4, 13, 45), 'numpy.array', 'np.array', (), '', True, 'import numpy as np\n'), ((16, 6, 16, 24), 'numpy.amax', 'np.amax', (), '', True, 'import numpy as np\n')]