#NEWLINE# def feature_normalize( X ) : #NEWLINE# #INDENT# mu = np . mean ( X , axis = 0 ) [ np . newaxis , : ] #NEWLINE# sigma = np . std ( X , axis = 0 ) [ np . newaxis , : ] #NEWLINE# return ( mu , sigma , ( ( X - mu ) / sigma ) )