def _compute_radii(self):
<EOL>radii = self._get_user_components('<STR_LIT>')<EOL>if (radii is None):<EOL><INDENT>centers = self.components_['<STR_LIT>']<EOL>n_centers = centers.shape[<NUM_LIT:0>]<EOL>max_dist = np.max(pairwise_distances(centers))<EOL>radii = np.ones(n_centers) * max_dist/sqrt(<NUM_LIT> * n_centers)<EOL><DEDENT>self.components_['<STR_LIT>'] = radii<EOL>
Generate RBF radii