code: def __init__(self, pi1=0.5, pi2=0.5):
      assert pi1 + pi2 == 1
      self.pi1 = pi1
      self.pi2 = pi2
  
file_path: scattertext/scattertext/termscoring/DeltaJSDivergence.py
imports: import numpy
  import pandas
  from scattertext.termscoring.CorpusBasedTermScorer import CorpusBasedTermScorer
label_desc: Use image node_id 1 to create a new DeltaJSDivergence object from inherited base classes: object with example: obj = DeltaJSDivergence(pi1, pi2)