#NEWLINE# def setup( self , n_samples , degree ) : #NEWLINE# #INDENT# r_samples = ( n_samples / 2.0 ) #NEWLINE# self . x = np . arange ( ( - r_samples ) , r_samples , 0.25 ) #NEWLINE# self . y = ( np . exp ( ( - ( self . x ** 2 ) ) ) + ( 0.1 * np . random . randn ( * self . x . shape ) ) )