code: def __get_coef_df(self) -> pd.DataFrame:
      tdm = self.corpus_.get_term_doc_mat(non_text=self.non_text_)
      tdmtfidf = TfidfTransformer().fit_transform(tdm)
      coefs = np.zeros(
          shape=(self.corpus_.get_num_categories(), tdm.shape[1]),
          dtype=float,
      )
  
      for i, cat in enumerate(self.corpus_.get_categories()):
          y = self.corpus_.get_category_ids() == i
          clf = LogisticRegression(
              penalty="l2",
              C=5.0,
              max_iter=4000,
              tol=1e-6,
              solver="liblinear",
          ).fit(tdmtfidf, y)
          coefs[i, :] = clf.coef_
      return pd.DataFrame(
          coefs.T,
          index=self.corpus_.get_terms(use_metadata=self.non_text_),
          columns=[
              str(x) + " coef" for x in self.corpus_.get_categories()
          ],
      )
  
file_path: scattertext/scattertext/all_category_scorers/gmean_l2_freq_associator.py
imports: import pandas
  import numpy
  from scipy.stats import gmean
  from sklearn.feature_extraction.text import TfidfTransformer
  from sklearn.linear_model import LogisticRegression
  from scattertext import Scalers
  from scattertext.all_category_scorers.all_category_scorer import AllCategoryScorer
label_desc: Use image node_id 5 for calling the AllCategoryScorerGMeanL2 obj's underlying member method code with example usage: obj.__get_coef_df() and returns: pd