#NEWLINE# def _compute_radii( self ) : #NEWLINE# #INDENT# 'Generate RBF radii' #NEWLINE# radii = self . _get_user_components ( 'radii' ) #NEWLINE# if ( self is None ) : #NEWLINE# #INDENT# centers = self . components_ [ 'centers' ] #NEWLINE# n_centers = centers . shape [ 0 ] #NEWLINE# max_dist = np . max ( pairwise_distances ( centers ) ) #NEWLINE# radii = ( ( np . ones ( n_centers ) * max_dist ) / sqrt ( ( 2.0 * n_centers ) ) ) #NEWLINE# #UNINDENT# self . components_ [ 'radii' ] = radii