#NEWLINE# def predict_raw( self , input_data ) : #NEWLINE# #INDENT# input_data = format_data ( input_data ) #NEWLINE# output = np . zeros ( ( input_data . shape [ 0 ] , self . n_outputs ) ) #NEWLINE# for ( i , input_row ) in enumerate ( input_data ) : #NEWLINE# #INDENT# output [ input_row , : ] = self . transform ( input_row . reshape ( 1 , ( - 1 ) ) , self . weight ) #NEWLINE# #UNINDENT# return output