#NEWLINE# def expr( self , model , data ) : #NEWLINE# #INDENT# ( space , sources ) = self . get_data_specs ( space ) #NEWLINE# space . validate ( data ) #NEWLINE# X = data #NEWLINE# return T . square ( ( model ( X ) - X ) ) . mean ( )