#NEWLINE# def get_cross_divs( self ) : #NEWLINE# #INDENT# self . status_fn ( '\nGetting cross-bag distances and divergences...' ) #NEWLINE# mask = self . mask #NEWLINE# self . should_mask = False #NEWLINE# if any ( ( req . needs_transpose for f in self . metas for req in f . needs_results ) ) : #NEWLINE# #INDENT# if np . any ( ( mask != mask . T ) ) : #NEWLINE# #INDENT# mask = ( mask + mask . T ) #NEWLINE# self . should_mask = True #NEWLINE# #UNINDENT# #UNINDENT# self . outputs = _estimate_cross_divs ( self . features , self . indices , self . rhos , mask . view ( np . uint8 ) , self . funcs , self . Ks , self . max_K , self . save_all_Ks , self . specs , self . n_meta_only , self . progressbar , self . flann_args [ 'cores' ] , self . min_dist )