#NEWLINE# def _get_cluster_symbol( self ) : #NEWLINE# #INDENT# output = self . _get_output_symbol ( ) #NEWLINE# Y_hat = T . reshape ( output , ( self . batch , self . y_n , self . k ) ) #NEWLINE# y = self . _get_y_symbol ( ) #NEWLINE# Y = T . tile ( y [ : , : , None ] , ( 1 , 1 , self . k ) ) #NEWLINE# diff = T . mean ( ( ( Y - diff ) ** 2 ) , axis = 1 ) #NEWLINE# cluster = T . argmin ( diff , axis = 1 ) #NEWLINE# return cluster