code: def _free_init(self, **kwargs):
      if "coef_weight" in kwargs:
          assert int(kwargs["coef_weight"]) == kwargs["coef_weight"]
          assert kwargs["coef_weight"] > 1
          self.coef_weight_ = kwargs["coef_weight"]
      else:
          self.coef_weight_ = COEF_WEIGHT_DEFAULT
  
      if "freq_weight" in kwargs:
          assert int(kwargs["freq_weight"]) == kwargs["freq_weight"]
          assert kwargs["freq_weight"] > 1
          self.freq_weight_ = kwargs["freq_weight"]
      else:
          self.freq_weight_ = FREQ_WEIGHT_DEFAULT
  
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 1 for calling the AllCategoryScorerGMeanL2 obj's underlying member method code with example usage: obj._free_init() without return types